Exit Save: Wq
Exit and force Save: wq!
Force quit, do not save: q!
Cursor moves to the last line of the file G
Cursor moves to the first line of the file GG
Moves the cursor from the cursor position to the beginning of the current line ^ 0 home
Moves the cursor to the end of the current line from the cursor location $ end
Cancel the last action U
Delete a line of DD
Delete N Row ndd
650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/15/578b5dcbe54ce8333568aab04025cd7f.png "title=" Gggg.png "width=" "height=" 382 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:500px;height:382px; "alt=" 578b5dcbe54ce8333568aab04025cd7f.png "/>
Cat-s a blank line that has more than two lines in a row and is substituted for a row
TAC Reverse Read with behavior standard
Rev This is backwards reading letters
More
b up one screen
space down one screen
Carriage return line down
= line number is displayed
/ Search
Q exit directly
V for vi editing mode
Less
Can up and down keys
compatible with more commands commonly used in this command
650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/15/54f69e6e1d9d0e7e023076b04d644f16.png "title=" hh.png "Width=" "height=" 417 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:500PX;HEIGHT:417PX; "alt=" 54f69e6e1d9d0e7e023076b04d644f16.png "/>
-S has more than two rows of blank lines, and a blank line that is substituted for a row is the same as Cat
N Display Line numbers
Cut
650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/15/042e8a5376bc57600ec60ab763e3928e.png "style=" width : 500px;height:357px; "title=" 444444.png "width=" "height=" 357 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" 042e8a5376bc57600ec60ab763e3928e.png "/>
650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/15/bc5bb19cdf908ead035f35ad1bb8e0c8.png "style=" width : 500px;height:199px; "title=" 44444446666.png "width=" "height=" 199 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Bc5bb19cdf908ead035f35ad1bb8e0c8.png "/>
-b-c The difference is not big, you can see the following post a by character one by Byte
http://blog.csdn.net/u011003120/article/details/52190187
650) this.width=650; "src=" Https://s4.51cto.com/oss/201711/15/3a95fbb1d56f6bd32c604b006da66b0c.png "title=" Wewewewe.png "width=" "height=" 335 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:600px;height:335px; "alt=" 3a95fbb1d56f6bd32c604b006da66b0c.png "/>
650) this.width=650; "src=" Https://s4.51cto.com/oss/201711/15/3234615a3d9eb103c6fa832c9a6e4c15.png "title=" Ewewewewe.png "width=" "height=" 157 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:600PX;HEIGHT:157PX; "alt=" 3234615a3d9eb103c6fa832c9a6e4c15.png "/>
-D with what delimiter
to be associated with -F
tab as delimiter by default
650) this.width=650; "src=" Https://s2.51cto.com/oss/201711/15/4d21fbdfb2356e1afbad9e60c75df240.png "title=" Qqqqqqqqqqq.png "alt=" 4d21fbdfb2356e1afbad9e60c75df240.png "/>
in Tab Delimited Show the second and fourth paragraphs
Displays the second and fourth paragraphs, separated by spaces
Note Cut : The delimiter must be a single character
awk defaults to a space as a delimiter
Sometimes how to see whether the document is n spaces or the TAB key
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/15/33d4b5e5a3f8788f431e3421c75e52a5.png "title=" Nnnnnnnnn.png "alt=" 33d4b5e5a3f8788f431e3421c75e52a5.png "/>
tab Key Display
This article is from the "11745576" blog, please be sure to keep this source http://11755576.blog.51cto.com/11745576/1982182
Vim, cut, less, cat commands