搬砖头

Knocking on Heaven's Door
posts - 34, comments - 6, trackbacks - 0, articles - 0

查历史命令(临时扔一下)

Posted on 2008-04-24 14:26 生活在别处 阅读(135) 评论(0)  编辑  收藏

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


只有注册用户登录后才能发表评论。


网站导航: