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