View output per page
Hi all,
I googled for it but didn't find: For example when I display my iptables, or even ifconfig; I only see the last page. I can't succeed in viewing the previously displayed pages. Thus my question, with which command is it possible to view the output of any command per page, OR, how can you scroll through previously displayed pages (same same). Secondary, less important, how can you adjust your screen resolution quickly in Debian Etch (5)?! Thx in advance! |
cat /var/log/messages | less
Then <Pg Up> or <Pg Down> Or just cat the file to an xterminal, and use the scroll bars. In a pure text terminal cat /var/log/messages then <SHIFT> <Pg Up> or <SHIFT> <Pg Dn> |
You can pipe the command to less or more like ifconfig | more. Read the man page for scrolling forward and backward.
As for screen resolution, I think it depends on the desktop whether there's a little widget you can use for screen resolution. I'm pretty sure on my KDE desktop there was one somewhere in the system menu (I'm not in front of my Debian box right now). Worst case you have to edit your xorg.conf file. Oh, and Lenny is 5.0. Etch was 4.0. :D |
[SOLVED]
Thanks both! It was the " | more" I needed! (for others: quit via "q") |
All times are GMT -5. The time now is 09:34 PM. |