What does the -n option do?

0125

The -n option in the head command allows you to specify the number of lines to display from the beginning of a file. For example, head -n 5 filename.txt would show the first 5 lines of filename.txt.

0 Comments

no data
Be the first to share your comment!