Taking Control of BASH History

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