bash history

I prefer bash as shell. It is very good to have the time and date for a command in history, especially for root. and when you are logged in as root the prompt is red, and blue for normal users. put this in your .bash_profile and in root’s .bash_profile export HISTCONTROL=ignoredups export HISTFILE=$HOME/.bash_history export HISTFILESIZE=5000… Continue reading bash history

Categorized as Linux