Taking Control of BASH History

From RSWiki
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