Linux 常用命令——cat, tac, nl, more, less, head, tail, od

1. cat 由第一行开始显示文件内容


2. tac 由最后一行开始显示文件内容(刚好和cat字母相反)



3. nl 按行号显示文件内容



4. more 一页一页翻动的读取


5. less 在more基础上增加向前翻页和向前查找


6.  head 只显示前几行


7. tail 只显示后几行


8. od 按二进制显示


猜你喜欢

转载自blog.csdn.net/hellojoy/article/details/80420449