Open junxnone opened 5 years ago
history
! number
history -c
(reverse-i-search)
sudo vi /etc/profile
export HISTTIMEFORMAT="%Y-%m-%d:%H-%M-%S:`whoami`: " export HISTSIZE=10000
export HISTCONTROL=ignoredups
history 命令行历史管理
history
查看历史执行命令UseCase
history
! number
history -c
(reverse-i-search)
':`Config
Reference