文章 2013-01-16 来自:开发者社区

Linux head和tail命令

介绍  head和tail是一组想对应的命令,默认分别显示文件的开头和末尾10行记录。   head命令 head命令默认显示头部的前N行 Usage: head [OPTION]... [FILE]... 默认输出前10行 当指定多个文件时,在输出前输出各个文件名 当没有指定文件或指定的文件是“-”说明读取标准输入 Mandatory arguments to lon...

文章 2011-10-31 来自:开发者社区

69、linux shell常用函数,tail

1、tail - output the last part of files tail [OPTION][+/-num]... [FILE]... 2、option ① -f,:output appended data as the file grows; ② -s, :with -f, sleep for S seconds (default 1.0) between...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

Linux宝库