Taking Control of BASH History: Difference between revisions

From RSWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(3 intermediate revisions 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 8: Line 10:


  HISTSIZE=500
  HISTSIZE=500
[[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