My Linux version is 2.6.32-47-server (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #109-Ubuntu SMP Tue May 7 02:17:05 UTC 2013
I am currently doing a tail -f file
and life is good. But that only shows the last X lines. Is it possible for tail to first display the whole file and then behave like tail -f?
I tried tail -500 -f file
but that gave me tail: option used in invalid context -- 1
In a sense, it would be like cat file; tail -f file;
But showing only the lines that were not displayed since the cat
Is it possible?