1
vote
1answer
540 views

How to pipe output of tail -F on OS X?

I've recently moved from Ubuntu to OS X and I'm finding that the 'tail' command behaves differently. On Ubuntu I could run tail -f xyzzy.log | espeak (To have the computer read me what's happening ...
1
vote
1answer
422 views

pipe from ssh to windows “ssh server 'tail err.log' | tool.exe”

I want to live monitor a logfile generated on a remote linux host with a windows tool. I'm looking for something like: $> ssh remoteserver 'tail -F /var/log/err.log' | tool.exe But on Windows. ...
0
votes
1answer
575 views

How to find the last match of a string in a bunch of files

I have a bunch of files, I'd like to find the last match of a string in each of them. grep text *.file gives me all the matches not the last ones. ls *.file | xargs grep text | tail -n 1 gives me ...
1
vote
1answer
940 views

pipes & tail -f in linux

Is it possible to execute cat logfile | tail -f? For some reason it just reads the initial log, but then it doesn't update incoming entries. I know I can directly do tail -f logfile. I just wanted ...