16

Back in college, one of my professors who was teaching Introduction to UNIX class, said :
"head -n 2 file.txt" displays the first 2 lines of file.txt.

I asked : and to show the last 2 ones ?

"Don't be a fool, +n instead of -n" he answered.

RIP UNIX ...

Comments
Add Comment