1
vote
3answers
487 views

Coloured output when tailing php error log

I'm trying to find a way (through escape characters or software) to display coloured lines in my php error log. Right now I'm reading from them (live) with tail -n 50 -f /var/log/apache2/error.log ...
0
votes
2answers
714 views

Can't scroll tail up or down on server

Possibly related to Tail keeps snapping to the bottom after i scroll up with mousewheel I can view my regular log files (on my local machine I mean) with tail -f and can scroll up or down. However, ...
6
votes
4answers
1k views

make tail wait for a file to exist

tail -f bar/somefile.log would fail immediately when somefile.log does not exist. How do I make tail indefinitely wait for that file to be created (which will happen in a few moments)? Update: using ...
3
votes
5answers
834 views

Linux application to tail multiple log files (like OS X Console.app)

I'm constantly tailing log files. At any given time I've got half a dozen terminal windows open that are simply running tail -f . In OS X, the Console app is brilliant. All the usual log files are ...
2
votes
1answer
136 views

Tail keeps snapping to the bottom after i scroll up with mousewheel

I'm having a problem with tail in Xubuntu (Xfce 4). In my previous ubuntu install (Ubuntu 9.10), if i was tailing a file with tail -f myfile, i could scroll up with the mousewheel to look at an ...
0
votes
1answer
428 views

How to use tail -f with sound?

I am trying to use tail -f and play a sound everytime a new line appears. I tried this: for i in tail -f myFile; do aplay alert.wav; done; Which kinda worked, the output is: Playing WAVE ...