Common operation commands of wubantu (III), wubantu
I. cat commands
Cat is the function of concatenate to view the file content, create a file, merge a file, and append the file content. PS (cat displays all the content at a time, suitable for text files with less content)
Cat file name
- -B-to-Null Output row number
- -N: Number of all rows output
2. more commands
Split-screen display of File Content
More file name
The Space key displays subsequent content. Here is a little similar to the man command !!! -- Http://www.cnblogs.com/lzhh/p/Ubuntu_3.html
Iii. grep command
Grep Search Text File Name Search Text File Content PS (there is a space between the search strings to use "cause ")
- -N: display matching rows and row numbers
- -V: Display All rows that do not contain matched text (equivalent to reverse)
- -I case-insensitive
Two common modes of searching are also called regular expressions: