Skipping to End of log files using SSH
I'm sitting here holding the down button, I'm trying to get to the end of it but it's never coming.
How do I get to the end of a log file without seeing all the stiff in it by pressing page down? Any quick way to get to the end of the file using SSH? |
Depends on what you mean exactly eg if you were in the vi/vim editor, then <shift>-g would do it.
Which tool are you using? NB: ssh is just a remote terminal/shell tool, so that's not what I'm asking. |
Hi Chris, I'm using Putty SSH and VI. This is what I'm using to read the file. I hope that's what your asking for.
|
SHIFT-g should work in 'less' too but if your only intent is watching lines scroll by then 'tail -f /path/to/log' would be the easiest.
|
Thanks guys this is perfect it helps so much.
|
All times are GMT -5. The time now is 03:39 AM. |