howto: shell setup and commands rev 26 jun 2018 ....................................................... howtos: * ignore duplicates in command history export HISTCONTROL=ignoredups ignorespace:ignoredups or ignoreboth. ignorespace for executing commands that you don't want to record in your command history. * Eliminate duplicates across the whole history export HISTCONTROL=erasedups * Don't record some commands in history export HISTIGNORE="pwd:ls:ls -ltr:" ....................................................... resources * https://www.linuxjournal.com/content/using-bash-history-more-efficiently-histcontrol * https://www.thegeekstuff.com/2008/08/15-examples-to-master-linux-command-line-history/ other good articles listed at end of page. _______________________________________________________ since: 26 jun 2018 -- 0 --