Linux DevopsRoles.com

head command in Linux with Examples

head command means Print the first 10 lines of each FILE to standard output.

Syntax

head [OPTION]… [FILE]…

On the man page, the describes it

  • head – output the first part of files.
  • man head– More details information about head command.

head command in Linux with Examples

$ head devopsroles.csv

Conclusion

head  is a simple command in Linux. It is the most popular in use terminal Linux output the first part of files. Thank you for reading the DevopsRoles page!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.