Centos 查看全部历史命令

平时简简单单的查看历史命令,可以用history, 但是一旦历史命令过多,只能显示最新的历史命令,如果我们想查看全部的历史命令,这个时候只靠history 这个command是不行的

对于root来说,所有通过console 输入的命令,其实都保存在/root/.bash_history中

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.