How do I scroll through a file from the bottom to top?
August20
The easiest way is to use the less command in Linux. Say you want to look at the syslog and roll throught it form the bottom to the top, here’s the command using less.
sudo less +G /var/log/syslog
Also worth knowing is the use of the tail command with the -f switch. With it, the file scrolls live so as more stuff is added to the syslog (or any file), the file scrolls up – very handy.
sudo tail -f /var/log/syslog