Taking Control of BASH History: Difference between revisions

From RSWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 8: Line 8:


  HISTSIZE=500
  HISTSIZE=500
[[Category:Linux| ]] [[Category:Unix| ]] [[Category:Shells| ]]

Revision as of 11:14, 24 April 2007

The original article is here [1]

1. Dont save duplicate commands in the history

HISTCONTROL=ignoreboth

2. Change the size of the history

HISTSIZE=500