Linux
Filesystem Hierarchy
Package Management
Kali Linux usages advanced package tool (apt).
Customizing the Bash Environment
The HISTIGNORE variable is particularly useful for filtering out basic commands that are run frequently, such as Is, exit, history, bg, etc:
export HISTIGNORE="&:ls:[bf]g:exit:history"
The HISTCONTROL variable defines whether or not to remove duplicate commands, commands that begin with spaces from the history, or both.
export HISTCONTROL=ignoredups
HISTTIMEFORMAT controls date and/or timestamps in the output of the history command.
export HISTTIMEFORMAT='%F %T'
Last updated