Hello.
How to exclude saving commands in history?
And duplicate commands that repeat.
shell csh.
In Linux me use:
shell bash.
So as not to pollute the command history in the shell.
How to exclude saving commands in history?
And duplicate commands that repeat.
shell csh.
In Linux me use:
shell bash.
Code:
HISTCONTROL=ignoredups
HISTIGNORE="date:pwd:id:uptime:resize:clear:history:df *:w:ifconfig:apt update:apt upgrade:exit:reboot:uname *??"