Answers for "tail -n lines file"

1

tail -n lines file

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

tail -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