How to display top N lines from a file or pipe in Linux?

You can use the head command to display the top N lines of a file or pipe in Linux.

Leave a Reply