First, the common text file manipulation commands
command | Explanation |
cat /etc/passwd | Scroll to display the contents of the file / etc / passwd of |
cat -n 、/etc/passwd | Scroll to the file / etc / passwd contents, and displaying the line number (equivalent to NL / etc / passwd) |
more /etc/passwd | Split screen displays the file / etc / passwd content |