1. Cat:concatnate
Options:
-n:number Display Line numbers
-e:end displays the identifier at the end of each line (the identifier at the end of each line in Linux is $, and $+ returns in Windows)
-v:visible visible display of nonprinting characters
2. MORE:
3. Less:
4 head: Show from scratch
-n Specifies the number of rows
5. Tail: View the file trailer
-f:fllow View the end of the file, do not exit wait for subsequent append to this file new content
6. Cut: Modify the contents of the file to output
-d:delimiter Specifying a separator
-f:filed Specifying fields
-b:byte Split by Byte
-c:characters Split by character
7. Sort: By default according to Ascⅱ code sorted by character from left to right
Options:
-n:number Sorting by value
-r:resort
-t:trainsition Setting a separator
-K:KEY specifies which field to sort the keyword with-t
-u:unique the same row is displayed only once (the same row as the same row)
-f:fold (folded, shrouded) ignoring case
-c:count shows the number of duplicate rows
-d:double Show only Duplicate rows
8. Wc:word Count
Options:
-l:line shows only the number of rows
-c:bytes count shows only the number of bytes
-w:word number of words
-M: Displays only the number of characters
-L: The longest line contains the number of characters
9. tr:trainsition Remove to convert or delete characters
Options:
-d:delete
EX:TR AB AB Replacement AB (each corresponding to the replacement)
TR A-Z
Linux Text Processing commands