From the tail(1) man page For example, the data i've generated is numeric. That causes tail to track the.
This command useful for observing log files For that you can control the order of the results that ls outputs through a variety of switches Tail will then listen for changes to that file
What i want is a normal way to quit, like q in top I am just curious about the question, because i feel. I'd like to be able to tail the output of a server log file that has messages like Info severe etc, and if it's severe, show the line in red
If it's info, in green What kind of alias can i set. You may want to look at the ops comment to this answer which is basically the same as yours. Say i have a huge text file (>2gb) and i just want to cat the lines x to y (e.g
Here is what i know i can do I am looking for a solution that only displays the last 15 lines and get rid of the lines before the last 15 after it has been updated Would you have an idea? You can use this to strip the first two lines
$ touch $(seq 300) now the last 200