I’ve read tail -f using PuTTY hangs
But please let me ask again.
- I connect to
Ausing putty. - Then I connect to
Busing ssh. - I execute
tail -f ...
After some lines tailed terminal stops.
- Connection is alive.
- Enter key doesn’t restart tailing
- I have to CTRL-C and re-execute the tail command.
Any ideas?
It is possible (e.g. if you are tailing a log file) that the file is being rotated: that something renames the file and incoming data is then added to a new file with the original name.
If this is what is happening, use
tail -F ...instead oftail -f ....