First, view the text:
Cat: Connect and Show TAC: Reverse display of text content
-N: Show line numbers
-E: Displays the line terminator for each line
Note: For Linux systems, the line terminator for each line of the text file is $. The Windows system has two terminator: $ and line breaks.
Second, split screen display:
MORE: Only support backward, turn to the last screen exit.
Less: Same as man
SPACE:
B:
ENTER:
K:
Third, head, tail
Head-n View Top N rows
Tail-n: View after n rows
-F: Look at the end of the file and do not exit, waiting for the new content appended to this file to appear.
Iv. Text Processing
Cut
-D: Specifies the field delimiter, which by default is a space.
-F: Specifies the field to display.
-F 1,3 Show 1th and 3rd
-F 1-3 shows 1th to 3rd
This article is from the "Linux Blind Advanced Road" blog, please be sure to keep this source http://blindbird.blog.51cto.com/12338383/1878885
[Bird's-brother Linux video tutorial finishing]03_01_linux file Management class commands in detail cont. 3