一、使用touch text1.txt 来创建第一个文件
1.使用Vim在文件text1.txt中写入
Welcome to my Linux.
You are the best.
This is my first file to create on linux
vim text1.txt //进入vim
2.在命令模式下,复制第二行,并粘贴到第三行下边
yy(复制该行)+p(粘贴在该行的后面)
Welcome to my Linux.
You are the best.
This is my first file to create on linux
vim text1.txt //进入vim
yy(复制该行)+p(粘贴在该行的后面)