Linux命令解析--cat tac rev命令比较

通过下面一个小实验比较下cat tac rev这三个命令的不同:

[root@DB104 tmp]# cat test.txt 
abc
bcd
cde

[root@DB104 tmp]# tac test.txt 
cde
bcd
abc


[root@DB104 tmp]# rev test.txt 
cba
dcb
edc

猜你喜欢

转载自blog.csdn.net/karloo/article/details/52154607
今日推荐