Linux使用痕迹

来自三线的随记

last ---> /var/log/wtmp

lastlog ---> /var/log/lastlog

history ---> ~/.bash_history

lastb ---> /var/log/btmp

history相关变量

export HISTSIZE=0

export HISTFILE=/dev/null

export HISTCONTROL=ignorespace

export HISTCONTROL=ignoredups

export HISTCONTROL=ignoreboth

参考文章 https://www.cnblogs.com/rusking/p/5715715.html