Linux cat command

cat command to view files in read-only mode

cat file name
cat /etc/profile
View display line number
cat -n 文件名
cat -n /etc/profile

There is no page display in the above method. To display the page as follows, press the space to view the next page

cat filename | more
cat /etc/profile | more
cat -n /etc/profile | more

Published 48 original articles · Likes0 · Visits 282

Guess you like

Origin blog.csdn.net/qq_44971387/article/details/105323458