Difference between revisions of "Taking Control of BASH History"

From RSWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{AdWords}}
 
 
 
 
 
== Quick BASH tips ==
 
== Quick BASH tips ==
 
  
 
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 17: Line 12:
  
 
[[Category:Linux| ]] [[Category:Unix| ]] [[Category:Technical| ]]
 
[[Category:Linux| ]] [[Category:Unix| ]] [[Category:Technical| ]]
 
{{AdWords2}}
 

Latest revision as of 11:54, 27 October 2018

Quick BASH tips

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