1
vote
1answer
329 views

Tail the filename, not the file

In UNIX (OS X BSD to be precise), I have a "tail -f" command on a log file. From time to time I want to delete this log file so I can more easily review it in my text editor. I delete the file, and ...
4
votes
3answers
1k views

Tail multiple files while piping one of the files through grep

I want to use tail follow two log files, but one of the log files has too much data, so I want it filtered with grep. tail -f file1 file2|grep mySearch The issue with this is that both files are ...