How to view files in linux

angryTom
Release: 2019-11-04 11:43:09
Original
10865 people have browsed it

How to view files in linux

How to view files in Linux

1. Check what files are in the directory

ls -l #显示详细信息
Copy after login

How to view files in linux

2. View the file creation time, modification, and access time

stat filename
Copy after login

How to view files in linux

##3. View the file content

cat filename #一次性输出文件内容
more filename #逐屏输出文件内容
head filename #查看文件头部
tail filename #查看文件尾部
Copy after login
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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template