cat:基本是最常用的查看文件内容的linux命令. more 也是用来查看一个文件的内容.当文件内容太多,一屏幕不能占下,而你用cat肯定是看不前面的内容的,那么使用more就可以解决这个问题了.当看完一屏后按空格键继续看下一屏.但看完所有内容后就会退出.如果你想提前退出,只需按q键即可. less 作用跟more一样,但比more好在可以上翻,下翻.空格键同样可以翻页,而按"j"键可以向下移动(按一下就向下移动一行),按"k"键向上移动.在使用more和less
1 , Use locate command It is a fast way to find the files location, but if a file just created ,it will can not found use it. You may need run updatedb to update the database 2, Use find command "find" will search on your disk not from the datab