摘要: 命令格式: tail [参数] [文件] tail 命令可用于查看文件的内容,常用的参数 -f 常用于查阅正在改变的日志文件(-f 默认打印10行)。 tail -f filename 把 filename 文件最尾部的内容打印出来,文件有更新会显示最新内容。 参数: -f 循环读取 -q 不显示处 阅读全文
posted @ 2020-09-24 20:08 vvf 阅读(130) 评论(0) 推荐(0)
摘要: grep tail free 查看内存状态 1 whereis witch 阅读全文
posted @ 2020-09-24 19:51 vvf 阅读(61) 评论(0) 推荐(0)
摘要: grep (Globally search a Regular Expression and Print) 文件test.txt的内容如下: dlf test dlfthink www.baidu.com TEST 123 Dlf's lemon grep Grep abc abc123abc 12 阅读全文
posted @ 2020-09-24 19:50 vvf 阅读(165) 评论(0) 推荐(0)