Taking Control of BASH History: Difference between revisions

From RSWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{AdWords}}
The original article is here [http://www.ducea.com/2006/05/15/linux-tips-take-control-of-your-bash_history/]
The original article is here [http://www.ducea.com/2006/05/15/linux-tips-take-control-of-your-bash_history/]


Line 9: Line 11:
  HISTSIZE=500
  HISTSIZE=500


[[Category:Linux| ]] [[Category:Unix| ]] [[Category:Shells| ]]
[[Category:Linux| ]] [[Category:Unix| ]] [[Category:Technical| ]]
 
{{AdWords2}}

Revision as of 10:54, 23 January 2008

Template:AdWords

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

Template:AdWords2