说明
rev命令用于按行反向输出文件内容
格式
vimdiff [option] [filename]
示例
[root@localhost ~]# cat test.txt
name,Age,Address,Num
ZhangHi,20,SiChuan,100
YangLiu,18,BeiJing,99
LiSi,21,ShangHai,10
[root@localhost ~]# rev test.txt
muN,sserddA,egA,eman
001,nauhCiS,02,iHgnahZ
99,gniJieB,81,uiLgnaY
01,iaHgnahS,12,iSiL
[root@localhost ~]#