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

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