Taking Control of BASH History: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== 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 12: | Line 12: | ||
[[Category:Linux| ]] [[Category:Unix| ]] [[Category:Technical| ]] | [[Category:Linux| ]] [[Category:Unix| ]] [[Category:Technical| ]] | ||
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