history|grep halt
cat .bash_history|grep halt
不同的系統history文件是不一樣的,
一般是$HOME目錄下
查找find / -name "*history"
主要是root及oracle下的
Redhat的root
/root/.bash_history
/var/log下呀
查看wtmp文件
who wtmp.n
posts - 34, comments - 6, trackbacks - 0, articles - 0 |
||
history|grep halt 不同的系統history文件是不一樣的, 查找find / -name "*history" Redhat的root /var/log下呀 |
||