Answers for "head -n command"

1

head -n command

With the flag -n | N, the head command prints out the first N lines of file(s)

head -n 7 file.txt	#Prints first 7 lines of file.txt
Posted by: Guest on October-19-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language