linux
kuanronglo
这个作者很懒,什么都没留下…
展开
-
Linux常用命令_tail命令
Linux常用命令_tail命令 tail 命令 tail命令和head 命令非常相似,只不过它是打印文件的尾部内容的 参数说明 参数 参数说明 -n 根据文件行数进行打印 -c 根据文件字节进行输出打印 -v 总是显示文件名的文件头 -q 不显示文件名的文件头 -f 循环读取文件内容 -s 与-f合用,表示在每次反复的间隔休眠S秒 –pid 与-f合用,表示在进程ID,PID死掉之后结束 [root@localhost home]# tail --help Us原创 2021-08-08 18:06:43 · 526 阅读 · 0 评论 -
Linux常用命令_head命令
linux中head命令 head 命令 [root@localhost home]# head --help # 显示此帮助信息并退出 Usage: head [OPTION]... [FILE]... Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or whe原创 2021-08-07 20:35:01 · 604 阅读 · 0 评论