Logo
latest

Contents:

  • 1. 介绍
  • 2. 安全
  • 3. 常用系统命令
  • 4. 常用系统服务
  • 5. 常用系统优化
  • 6. 软件管理
  • 7. 网络
  • 8. 数据库
  • 9. 存储
  • 10. 监控
  • 11. 脚本&开发
    • 一键优化脚本汇总
    • shell
      • if
      • case
      • for
      • while
      • 条件判断
      • awk
      • sed
      • sort
      • uniq
      • grep
      • cut
      • tail
      • head
        • 打印文件alvin.log的前5行
      • wc
      • less
      • 正则表达式
      • echo
      • read
      • seq
      • vim
    • go
    • javascript
  • 12. python
  • 13. 云计算&虚拟化
  • 14. kubernetes
  • 15. 高可用&负载均衡
  • 16. web
  • 17. 自动化运维
  • 18. 其他开源工具
  • 19. 其他
  • 20. RHCE
  • 21. RHCA
  • 22. alv.pub network(alvin的内网)
Poppy
  • Docs »
  • 3. 常用系统命令 »
  • 字符串处理 »
  • head
  • Edit on GitHub

head¶

打印文件alvin.log的前5行¶

$ head -5 alvin.log
Next Previous

© Copyright 2018, Alvin Wan Revision f19d7008.

Built with Sphinx using a theme provided by Read the Docs.