shell学习笔记

一,命令 cat: 1,cat -n 1.txt –显示行号 2,cat -s 1.txt –压缩空白行 3,cat 1.txt | tr -s ‘\n’ –tr移除空白行 4,录制和回放 script scriptreplaylinux find: 1,find . -print –打印文件和目录的文件 2,find . -name “example*” -print –根据文件名查找 不去分大
相关文章
相关标签/搜索