News for hackers. Stuff that matters.
Re:Use the 'tail' command to monitor everything by hoytech on Monday July 12, 2021 @06:49PM (#27816005)
Not sure how standard it is, but at least on linux you can do "head -3" as a short-cut for "head -n 3". Same with tail.
Re:Use the 'tail' command to monitor everything by techbio on Monday July 12, 2021 @08:17PM (#27816533)
I habitually type

     (head|tail) -33
to quickly fill the terminal window with text.

Edit: that | is an OR not a pipe.

Re:Use the 'tail' command to monitor everything by indigodaddy on Monday July 12, 2021 @08:50PM (#27816697)
Yes I do the same because in fact on Solaris 10/11, only -X works. There is no -n switch. So I believe -X is more reliable across unixes.
Re:Use the 'tail' command to monitor everything by seanhunter on Tuesday July 13, 2021 @10:17AM (#27821274)
That's the old school unix way. "-n" was introduced with POSIX iinvmm