Home > Article > Operation and Maintenance > How to view files in linux
How to view files in Linux
1. Check what files are in the directory
ls -l #显示详细信息
2. View the file creation time, modification, and access time
stat filename##3. View the file content
cat filename #一次性输出文件内容 more filename #逐屏输出文件内容 head filename #查看文件头部 tail filename #查看文件尾部Recommended: [
Linux video tutorial】
The above is the detailed content of How to view files in linux. For more information, please follow other related articles on the PHP Chinese website!