Download your favorite Linux distribution at LQ ISO.
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 03-13-2007, 03:05 AM   #1
Registered: Jul 2004
Posts: 328

Rep: Reputation: 30
Page break command


When I want to listening my linux system with netstat command, the system gives me back more records than one page and I can't see the upper records.
Is there any page break parameter for netstat command?

Old 03-13-2007, 05:27 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
The way something like this would normally be handled in Linux is to pipe the output to either more or less, something like this:

netstat -na | more
netstat -na | less
My preference is less since you can scroll the output both forward and backwards (using the arrow keys), search, and several other capabilities. Check out the man pages of these commands for more info.

The options for netstat I listed above are just examples. You can use this technique for any command that sends its data to stdout.


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
Telnet break command (RedHat) rainman4_8 Linux - Software 1 03-22-2006 08:25 AM
Printing 2 pages in 1 page paper in (Redhat) Linux using command line elmer1503 Linux - General 5 02-01-2006 04:13 AM
Apt, Synaptic command line installation...I can't find the page anymore :( leonardh Linux - Software 3 02-03-2005 05:53 PM
HTML page break? patpawlowski Programming 4 02-12-2004 11:30 AM
execute command from web page FNC Programming 5 03-06-2003 07:17 PM

All times are GMT -5. The time now is 11:00 AM.

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