p VIM Command
How to use p Command in Linux VIM editor?
p stands for put
This command is used to paste a copied text into the file.
- Open the file test.txt using the command
$ vim test.txt
- We can notice the text in the file.
- Let us see how to copy and paste the second line from the file.
- To copy the second line to clipboard
- Using put command we can paste the copied content
- The copied content will be pasted