vim基本操作

[ ~]$ ls -la ./ > editing_fianl_lab.txt
[ ~]$ vim editing_fianl_lab.txt
[ ~]$ [ ~]$ ls
Desktop Downloads Music Public song2.mp3 song4.mp3 song6.mp3 Videos
Documents editing_fianl_lab.txt Pictures song1.mp3 song3.mp3 song5.mp3 Templates work
[ ~]$ cp editing_fianl_lab.txt editing_fianl_lab.txt.bak
[ ~]$ cat editing_fianl_lab.txt
drwr. 2 zhou 6 Apr 8 Documents
drwr. 2 zhou 74 Apr 8 Music
drwr. 2 zhou 6 Apr 8 Pictures
drwr. 3 zhou 19 Apr 8 .pki
-rwr. 1 zhou 0 Apr 8 song1.mp3
-rwr. 1 zhou 0 Apr 8 song2.mp3
-rwr. 1 zhou 0 Apr 8 song3.mp3
-rwr. 1 zhou 0 Apr 8 song4.mp3
-rwr. 1 zhou 0 Apr 8 song5.mp3
-rwr. 1 zhou 0 Apr 8 song6.mp3
drwr. 2 zhou 6 Apr 8 Templates
drwr. 2 zhou 6 Apr 8 Videos
drwr. 2 zhou 6 Apr 8 work
-rw-. 1 zhou 18 Nov 9 .bash_logout
-rwr. 1 zhou 141 Nov 9 .bash_profile
-rwr. 1 zhou 312 Nov 9 .ba|I am a good guy |
drw-. 10 zhou 232 Apr 8 .cache
drw-. 12 zhou 231 Apr 8 .config
drwr. 2 zhou 6 Apr 8 Downloads
-rwr. 1 zhou 0 Apr 8 editing_fianl_lab.txt
-rw-. 1 zhou 16 Apr 8 .esd_auth
-rw-. 1 zhou 310 Apr 8 .ICEauthority
drw-. 3 zhou 19 Apr 8 .local
drwr. 4 zhou 39 Apr 8 .mozilla
drwr. 2 zhou 6 Apr 8 Documents
drwr. 2 zhou 74 Apr 8 Music
drwr. 2 zhou 6 Apr 8 Pictures

相关推荐