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 to watch the downloading process, I could use $ tail -f nohup.out but that fills up my terminal window faster than I'd wish for. What I'd like to see is the last line constantly updating (just like when using wget alone).
I tried $ tail -n 1 -f nohup.out but it seems to affect only the initial tailin'.
Generally speaking, if it is possible to limit (in this case to 1) the number of lines a command's output has available/visible it would solve this problem. Sort of having the output in a Circular buffer — just think of the normal progress bar $ wget example.tld/big.iso would print.
Is there such a solution?
Or am I climbing the tree wrong way? (Meaning, would it be easier to limit nohup's output or do something else?)