Taking Control of BASH History

From RSWiki
Revision as of 11:54, 27 October 2018 by Robert (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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