View previous topic :: View next topic |
Author |
Message |
relrobber n00b
Joined: 08 May 2005 Posts: 11 Location: SOCAL
|
Posted: Thu Dec 22, 2005 2:06 am Post subject: [solved] Noob needs help w/ Linux commands |
|
|
how do i stop text from scrolling off screen? in DOS you put "/p" after the command to scroll a page at a time, but i cannot find a similar function in Gentoo. i'm tired of only being able to read the bottom of help notes.
--rel
Last edited by relrobber on Thu Dec 22, 2005 3:01 am; edited 1 time in total |
|
Back to top |
|
|
atrus123 Guru
Joined: 06 Jul 2005 Posts: 339 Location: Annapolis, MD
|
Posted: Thu Dec 22, 2005 2:14 am Post subject: |
|
|
use pipes.
eg:
Code: | ls | more
ls | less
|
There are two examples. You can do the same thing with other programs, like cat:
And so on.
Hope this helps.
J.
Edit: oh, and use 'q' if you want to break. _________________ "I cannot support a movement that exploded spending and borrowing and blames its successor for the debt."
-Andrew Sullivan |
|
Back to top |
|
|
relrobber n00b
Joined: 08 May 2005 Posts: 11 Location: SOCAL
|
Posted: Thu Dec 22, 2005 2:16 am Post subject: |
|
|
yess!! now...next stupid question...how do i get back to the prompt after i'm done reading? (i used "| less") |
|
Back to top |
|
|
radarsat1 n00b
Joined: 13 Jul 2005 Posts: 32
|
Posted: Thu Dec 22, 2005 2:25 am Post subject: |
|
|
press q.
type "man less" for more information on less.
by the way, the "| more" thing works in DOS too.. |
|
Back to top |
|
|
relrobber n00b
Joined: 08 May 2005 Posts: 11 Location: SOCAL
|
Posted: Thu Dec 22, 2005 3:01 am Post subject: |
|
|
thanx. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Dec 22, 2005 9:37 am Post subject: |
|
|
You can always also just use shift+page-up or shift+page-down to scroll up or down in a terminal window |
|
Back to top |
|
|
relrobber n00b
Joined: 08 May 2005 Posts: 11 Location: SOCAL
|
Posted: Thu Dec 22, 2005 10:44 pm Post subject: |
|
|
i did not know that...very helpful.
--rel |
|
Back to top |
|
|
|