Tagged Questions
1
vote
1answer
59 views
Is there a command-line tool that can read from a file and write the file's contents to stdout, blocking on EOF?
Is there anything like tail –f that also works well with binary files and supports exit conditions like "on pid X death" or so?
0
votes
0answers
57 views
1
vote
1answer
209 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 ...
0
votes
1answer
193 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 ...
0
votes
2answers
179 views
How can I have ls follow the content of a directory like tail -f does on a file
I want to basically continuously update the file list of a directory similar to how tail does with the -f flag on a file.
is there any reasonable way to do this?
22
votes
8answers
13k views
Is it possible to `tail -f` the output of `dmesg`?
Want to do something like
dmesg | tail -f
but it doesn't work:
I use Mac OSX 10.6.7, by doing that the tail will exit, instead of monitoring the output.
I wonder if there is any way to do it, or ...
2
votes
2answers
2k views
multitail for Windows cmd/powershell?
Is there a program like multitail but for Windows cmd.exe or powershell (not GUI)?