Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-30-2009, 01:25 PM   #1
Registered: Mar 2009
Posts: 65

Rep: Reputation: 15
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!
Old 07-30-2009, 01:32 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
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>
Old 07-30-2009, 01:33 PM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
Old 07-30-2009, 02:04 PM   #4
Registered: Mar 2009
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks both!

It was the " | more" I needed! (for others: quit via "q")


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I output information from a PHP page to an HTML page? SentralOrigin Programming 3 01-10-2009 01:54 AM
View a web page using the terminal. caleb1011 Linux - Newbie 9 01-15-2006 06:38 PM
cant view a web page master General 5 08-19-2004 10:46 AM
I NEED to be able to view this page help!! snatale1 Linux - Software 4 03-06-2004 08:45 PM
View more than 25 threads on the "view new posts" page lfslinux LQ Suggestions & Feedback 2 02-02-2002 12:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration