Terminal output management on the fly
When you run any command on a Putty type terminal, you can use CTRL-S
and CTRL-Q
to stop and start output to Putty terminal.
String exclusion with grep
If you want to exclude lines containing a specific pattern, use grep -v
, the following: delete the entire line containing the INFO line
tail -f logfile | grep -v INFO
Show rows that do not contain the words INFO or DEBUG
tail -f logfile | grep -v -E 'INFO|DEBUG'
Finally, MOTHER AND FATHER of all tail tools xtail.pl
If you have perl on your host, xtail.pl is a very good tool to learn, and in a nutshell you can use it to create multiple files. Very comfortably.
source share