Linux.com

ignore duplicate & commands

Posted by: Administrator on July 04, 2006 02:28 AM
# ignore duplicate

HISTCONTROL=ignoreboth



# ignore these in history file

HISTIGNORE=ls:ll:la:l:cd:pwd:exit:mc:su:df:clear

#

Return to CLI Magic: Using command history in the bash shell