shellspells beta


head [OPTION]... [FILE]...

head Print the beginning of a file.

Handy for quickly checking the start of big files, or grabbing the start of a file. Also great for reducing the output of a command into a readable size.


View the first 5 lines of a file

head -5 /etc/hosts