摘要: 开始录制 script -t 2> timing.log -a output.session 退出 exit 播放 scriptreplay timing.log output.session Find 查找 find . -print 1.根据文件名或正则表达式进行搜索 find /home/su 阅读全文
posted @ 2018-09-16 14:18 qinghean123 阅读(134) 评论(0) 推荐(0) 编辑
摘要: cat concatenate(拼接) 常用用法: cat file.txt 查看文件 cat file1.txt file2.txt 查看多个文件 cat -s file 压缩空白 cat -T file.txt cat -n file.txt cat 不会修改你的文件,只是根据用户提供的选项咱s 阅读全文
posted @ 2018-09-16 10:46 qinghean123 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1.逻辑运算符简单用法 [ condition ] && action; 如果condition为真,则执行action [ condition ] || action; 如果condition为假,则执行action 2.算数比较 -gt:大于(greater than) -lt:小于(less 阅读全文
posted @ 2018-09-16 10:18 qinghean123 阅读(155) 评论(0) 推荐(0) 编辑