What's a good linux command line utility for watching a log file live? It's probably obvious but I totally forgot it.
|
feedback
|
|
There are two things that leap immediately to mind... tail -f or multitail | |||
feedback
|
|
Assuming you are in the same folder as the logfile: tail -f logfilename | |||
|
feedback
|
|
If you want to watch a specific aspect of your file, say just IPs in an access log, you can do :
assuming that IPs are the first column of your log file. | |||
|
feedback
|