If you wish to view the topmost of a large text file you can use the Linux head command. It is a handy command that will save you time and can automate your searching and reading and can make your life easier. In this article, we will cover the basic usage of the Linux head command.
head myTextFile.txt
head -100 myTextFile.txt
You can use head and tail to view the exact lines of your file.
tail -50 myTextFile.txt | head -10
Master your Linux knowledge by using this List of Linux Commands on your SSH Shared Hosting Package or SSD VPS or Dedicated Server!