Linux Head Command Explained for Beginners (5 Examples)
Sep 28, 2017, 08:00 (0 Talkback[s])
(Other stories by Himanshu Arora)
In this article, we will discuss the basics of the head command using some easy to understand examples. Sometimes, while working on the command line in Linux, you might want to take a quick look at a few initial lines of a file. For example, if a log file is continuously being updated, the requirement could be to view, say, first 10 lines of the log file every time.