8.10 Shell Special Symbol Cut command
\ de-Semantic characters
Several commands related to pipe breaks
Usage of the cut-d command
Usage of the CUT-C command
Sort is often used in conjunction with Uniq
Sort is sorted, starting with special symbols, to numbers, to letters.
Sort-n are sorted by numbers, and special symbols and letters are considered to be 0.
Sort-nr 1.txt and return to the top sort
Wc
Vim 2.txt Input 123 newline ABC, the result of the query is 8 characters, including the line break symbol
Uniq, is the first order and then remove the duplicate
The use of Tee
Tee-a means append
Use of TR
TR changes the letter to a number, the number can only use single quotation marks, so the display is correct
The use of Split
Split-b The default cut file is X, or you can customize
The use of split-l
8.13 Shell Special Symbol
|| To denote or to mean, the following is how it is used, and when the first command executes unsuccessfully it runs the second command, and the second command is not run when the first command executes successfully
&& indicates that the previous command execution succeeds to execute the subsequent command, and if it fails, the following command is not executed
Related Quiz title: http://ask.apelearn.com/question/5437
Extended
- SOURCE Exec Difference http://alsww.blog.51cto.com/2001924/1113112
- Linux Special symbols Daquan http://ask.apelearn.com/question/7720
- Sort is not sorted by ASCII http://blog.csdn.net/zenghui08/article/details/7938975
Shell special symbol cut, sort_wc_uniq,tee_tr_split command shell special symbol