LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Skipping to End of log files using SSH (https://www.linuxquestions.org/questions/linux-newbie-8/skipping-to-end-of-log-files-using-ssh-4175421754/)

bbrian017 08-12-2012 04:52 PM

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?

chrism01 08-12-2012 05:03 PM

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.

bbrian017 08-12-2012 05:06 PM

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.

unSpawn 08-12-2012 05:10 PM

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.

bbrian017 08-12-2012 05:24 PM

Thanks guys this is perfect it helps so much.


All times are GMT -5. The time now is 03:39 AM.