lfzyx
  • DevOps
  • Linux
    • KVM - Virtualization Solution
    • Systemd - System Boot Management
    • Audit - Security Auditing
    • Tripwire - File Integrity Checking
    • Sysstat - System Performance Analysis Suite
    • Nginx - High-Performance Web Server
    • Crontab - Periodic Tasks
    • Keepalived - High Availability Solution
    • Lsof - List Open Files
    • PXE - Preboot Execution Environment
    • OpenLDAP - Open Source Implementation of the LDAP Protocol
    • NFS - Distributed File System
    • Openssh - Secure Transfer Protocol
    • PAM - Pluggable Authentication Modules
    • Rsync - File Synchronization
    • SVN - The Previous-Generation Version Control System
    • Tomcat - Java Container
    • Ulimit - User Resource Control
    • Iftop - Monitor Real-Time Traffic
    • MongoDB - Document Database
    • Filter - Stream Filters
      • cat
      • cut
      • head
        • Syntax
        • Example
      • less
      • more
      • sed
      • sort
      • split
      • tail
      • tr
      • uniq
      • wc
    • List of Unix Utilities
    • Hardware - Querying Hardware Information
  • Python
  • C
  • Life
lfzyx
  • Linux
  • Filter - Stream Filters
  • head
  • Edit on GitHub

head

Show the first part of a file

Syntax

head [OPTION]… [FILE]…

Example

  • head tmpfile

  • dmesg | head -20

Previous Next

© Copyright 2017-2019, lfzyx zhou.

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