Tagged Questions
2
votes
2answers
85 views
Tail -f piped through grep not outputing to file, but outputs to console
I'm using the following command
tail -f /mydir/myfile | grep "searchterm" >> outfile
Without the -f it works fine, but with the -f, which I need, nothing is written to the file. The ...
3
votes
1answer
159 views
limit stdout to terminal output speed [duplicate]
Possible Duplicate:
How can I limit the output speed of stdout?
What's the easiest way to limit the speed at which stdout is output in a terminal, so that, for instance, tail -f outputs ...
1
vote
1answer
54 views
Can I use tail with a file both as input and destination?
I have a log file that gets big fast. I tried using tail with this syntax but it didn't work.
tail logfile.log -n 100000 > logfile.log
The output file is 0 bytes and blank. What am I doing ...
1
vote
4answers
777 views
How to limit the number of lines a command's output has available in bash?
I started downloading a big file in the background using
$ nohup wget http://example.tld/big.iso &
which also gives me a nohup.out file that includes the output of wget.
Now, if I later want ...