Common Linux Command Line Text processing tools summary keyword search: the grep keyword specifies that during file-I search, case-n is ignored. The row where the result is displayed.-v is used to display rows that do not contain keywords. Column-based text processing: cut-d: -f1/etc/passwd/*: Separate passwd files, extract the first column */-d to specify the delimiter-f to specify the display column-c to perform column segmentation text statistics based on the Character Sequence: wc liangwode/* collect liangwode files */-l only count the number of rows-w only count the word book-c only count the number of bytes-m only count the number of characters text sorting: sort liangwode/* sorts liangwode files alphabetically. This command is only applicable to the sorting of letters and numbers, not applicable to Chinese sorting */-r reverse sorting-n sort by numbers-f ignore case-u Delete duplicate row text comparison: diff liangwode-1 liangwode-2-I ignore case-B ignore space number variation-u unified display information (typically used to generate patch files) text conversion: tr-d "liangwode" <liangwode deletes the specified keyword tr 'a-z'' a-Z' <liangwode converts the case to search for replacement: sed's/linux/unix/G' linuxtest replaces all linux keywords with unix