The head command
Yaser Rahmati | یاسر رحمتی
The head
command prints the first ten lines of a file.
Syntax:
Get a specific number of lines:
Use the -n
option with a number (should be an integer) of lines to display.
This command will display the first five lines of the file myfile.txt
.
Syntax:
Additional Flags and their Functionalities
Last updated