View previous topic :: View next topic |
Author |
Message |
whygentoo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jun 2004 Posts: 107 Location: Stockholm
|
Posted: Sun Jul 18, 2004 5:26 am Post subject: A small problem |
|
|
My gentoosystem runs in textmode, so I doesn´t have the standard desktop enviroment.I´m using lspci and other commands to check my hardware. When doing that, only a part of the output is on my screen. In DOS there where something like /p to have the commands ouput listed part by part. You did see the first part of the output and where asked to hit enter to wiev the next part. Is there something similar in Linux? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hadfield Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Sun Jul 18, 2004 5:45 am Post subject: |
|
|
You'll need to pipe the output to 'more' or 'less'. The 'more' command prints text one screen at a time, like /p. The less command does the same thing, but lets you scroll back up again.
Code: | $ lspci | more
$ lscpi | less |
You can also do this with pretty much any command that prints out text. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thowil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Apr 2003 Posts: 23 Location: Germany/KO
|
Posted: Sun Jul 18, 2004 3:36 pm Post subject: |
|
|
You might as well try shift+pageup / pagedown to scroll...
Should work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GenKreton l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/32209115435451019fdb3.jpg)
Joined: 20 Sep 2003 Posts: 828 Location: Cambridge, MA
|
Posted: Sun Jul 18, 2004 3:45 pm Post subject: |
|
|
As another alternative you can use screen and enter copy mode to scroll up and down the buffer (which you can alter its length in the config file to as many lines as you want). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bennettp Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/272902448427ca532a7644.png)
Joined: 22 Feb 2004 Posts: 335 Location: on my back and tumbling
|
Posted: Sun Jul 18, 2004 5:04 pm Post subject: |
|
|
less is more. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|