Linux12-常见查看文件内容和查找命令

来源:互联网 发布:互盾安卓数据恢复大师 编辑:程序博客网 时间:2024/06/05 19:59

(一)查看文件内容常用命令

1.cat

2.tac  用法同cat,倒序查看文件内容

3.more

4.less

5.head

6.tail

(二)查看系统信息

uname (  man  uname)

(三)查找命令

1.which: shows the full path of (shell) commands

2.whereis: locate the binary,source and manual page files for a command

3.find .

find /home -name demo* -exec ls -l {} \;


好记忆不如乱笔头,加油!

0 0