linux文件查看命令
最后更新于
最后更新于
[root@localhost ~]# tac 1.txt
6
5
4
3
2
1[root@localhost ~]# more 1.txt
1
2
3
4
5
6[root@localhost ~]# head -1 1.txt
1
[root@localhost ~]# head -3 1.txt
1
2
3[root@localhost ~]# tail -1 1.txt
6
[root@localhost ~]# tail -3 1.txt
4
5
6