用法:head [选项]… [文件]…
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 when FILE is -, read standard input.

Mandatory arguments to long options are mandatory for short options too.
-c, --bytes=[-]K print the first K bytes of each file;
with the leading ‘-’, print all but the last
K bytes of each file
-n, --lines=[-]K print the first K lines instead of the first 10;
with the leading ‘-’, print all but the last
K lines of each file
-q, --quiet, --silent 不显示包含给定文件名的文件头
-v, --verbose 总是显示包含给定文件名的文件头
–help 显示此帮助信息并退出
–version 显示版本信息并退出

K 后面可以跟乘号:
b 512, kB 1000, K 1024, MB 10001000, M 10241024,
GB 100010001000, G 102410241024, 对于T, P, E, Z, Y 同样适用。

GNU coreutils online help: http://www.gnu.org/software/coreutils/
请向http://translationproject.org/team/zh_CN.html 报告head 的翻译错误
要获取完整文档,请运行:info coreutils ‘head invocation’

Linux命令解释之head相关推荐

  1. 学习linux的好助手-linux命令解释工具

    有时候在听学习视频时,看到大佬输入没见过的linux命令行,就不知道什么意思. 现在可以通过在线工具Linux命令解释工具输入你的命令,就会告诉你什么意思,并且对每个参数进行了解释,简直是菜鸟的福音. ...

  2. Linux命令解释之grep

    [root@node1 ~]# grep --help 用法: grep [选项]- PATTERN [FILE]- 在每个 FILE 或是标准输入中查找 PATTERN. 默认的 PATTERN 是 ...

  3. linux命令解释pwd,Linux中pwd命令有什么用

    摘要 腾兴网为您分享:Linux中pwd命令有什么用,作业盒子,中国知网,优衣库,一点万象等软件知识,以及k游戏,秒表计时器,硬盘低格工具,uc漫画阅读器,数据迁移软件,约球app,raw格式,网易 ...

  4. Linux命令解释之rm

    用法:rm [选项]- 文件- Remove (unlink) the FILE(s). -f, --force ignore nonexistent files and arguments, nev ...

  5. Linux命令解释之sed

    用法: sed [选项]- {脚本(如果没有其他脚本)} [输入文件]- -n, --quiet, --silent 取消自动打印模式空间 -e 脚本, --expression=脚本 添加" ...

  6. Linux命令解释之find

    用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path-] [expression] 默认路 ...

  7. Linux命令解释之rpm

    [root@node1 ~]# rpm -qi nginx Name : nginx Epoch : 1 Version : 1.16.1 Release : 2.el7 Architecture: ...

  8. Linux命令解释之vim

    vim [root@node1 ~]# vim --help VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 9 2019 03:17:15) 用法: ...

  9. Linux命令解释之yum

    yum Usage: yum [options] COMMAND List of Commands: check 检查 RPM 数据库问题 check-update 检查是否有可用的软件包更新 cle ...

  10. Linux命令解释之crontab

    crontab:无效选项 – - crontab: usage error: unrecognized option Usage: crontab [options] file crontab [op ...

最新文章

  1. 明明安装了模块,还是出现 错误 ImportError: No module named ‘pandas‘ 原因LINUX上安装了多个python环境,将脚本中python 改为python3问题解
  2. 深度学习发展简要笔记
  3. 姜宁谈红帽绩效考核:不关心员工具体做什么
  4. 用scikit-learn学习K-Means聚类
  5. 1027. Colors in Mars
  6. mikrotikROS系统的几种安装方法
  7. 匿名函数lambda
  8. C#基础 数据类型 类型转换
  9. 剑指MBA?Acer发布全高清触控Win8平板Aspire S7
  10. ARM指令集和X86指令集对比
  11. Windows系统关闭端口教程
  12. 1.Android学习之Android项目结构
  13. 大数据扫黄如此精准,你中招了没
  14. 正离子计算机扫描检测,扫描电子显微镜
  15. vvic/搜款网API接口(item_search-根据关键词取商品列表 )
  16. 三十六、前端基础 CSS
  17. WinDbg命令详解--执行
  18. 深入理解 latch: cache buffers chains
  19. 云班课大学计算机基础答案,《大学计算机基础》期末考试题目
  20. navicat12,使用自动完成代码,没有默认选中第1个,怎么设置?

热门文章

  1. VIOS 的一些常用命令
  2. 安卓开发经常闪退的原因及解决方法
  3. 解决 ModuleNotFoundError: No module named ‘requests‘ 问题
  4. 如何列出npm用户安装的软件包?
  5. 编译用于高放射性环境的应用程序
  6. 在文件中查找和替换,覆盖文件不起作用,它清空了文件
  7. 树莓派python安装xlwt_利用python包(xlrd和xlwt)处理excel
  8. 根据文法画出语法树_输入语法推断的强化学习
  9. e站app里站hosts_硬核干货区 | E站的国际站运营知识星球上线啦
  10. 操作元素-改变元素内容