Home > Article > Operation and Maintenance > How to paste in linux
In the terminal:
Paste command: Ctrl Shift V key combination.
Under the console: (Recommended learning: Linux operation and maintenance )
Pastening command: Shift Insert combination key or click The mouse wheel is used to paste.
If you want to paste the third line of the file to the fifteenth line:
1. Enter your file, (in command mode, instead of edit mode)
2. Move your cursor to the beginning of your third line (use the arrow keys)
3, press v, (you find that switch to visual mode), press the arrow keys until the content you want is selected
4. Press y, and then move the cursor to the end of the fourteenth line.
5. Press p. Complete
This method can be used to paste multiple lines->copy
If you want to cut->copy, it is even simpler (can only be used Single line)
1. Go into your file, (in command mode, not edit mode)
2. Move your cursor to the beginning of your third line (use the arrow keys )
3. Press d twice (found that the third line is missing)
4, then move the cursor to the end of the fourteenth line and press p.
The above is the detailed content of How to paste in linux. For more information, please follow other related articles on the PHP Chinese website!