Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Noob needs help w/ Linux commands
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
relrobber
n00b
n00b


Joined: 08 May 2005
Posts: 11
Location: SOCAL

PostPosted: Thu Dec 22, 2005 2:06 am    Post subject: [solved] Noob needs help w/ Linux commands Reply with quote

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
View user's profile Send private message
atrus123
Guru
Guru


Joined: 06 Jul 2005
Posts: 339
Location: Annapolis, MD

PostPosted: Thu Dec 22, 2005 2:14 am    Post subject: Reply with quote

use pipes.

eg:

Code:
ls | more
ls | less


There are two examples. You can do the same thing with other programs, like cat:

Code:
cat | more


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
View user's profile Send private message
relrobber
n00b
n00b


Joined: 08 May 2005
Posts: 11
Location: SOCAL

PostPosted: Thu Dec 22, 2005 2:16 am    Post subject: Reply with quote

yess!! now...next stupid question...how do i get back to the prompt after i'm done reading? (i used "| less")
Back to top
View user's profile Send private message
radarsat1
n00b
n00b


Joined: 13 Jul 2005
Posts: 32

PostPosted: Thu Dec 22, 2005 2:25 am    Post subject: Reply with quote

press q.

type "man less" for more information on less.

by the way, the "| more" thing works in DOS too.. ;-)
Back to top
View user's profile Send private message
relrobber
n00b
n00b


Joined: 08 May 2005
Posts: 11
Location: SOCAL

PostPosted: Thu Dec 22, 2005 3:01 am    Post subject: Reply with quote

thanx.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Dec 22, 2005 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
relrobber
n00b
n00b


Joined: 08 May 2005
Posts: 11
Location: SOCAL

PostPosted: Thu Dec 22, 2005 10:44 pm    Post subject: Reply with quote

i did not know that...very helpful.

--rel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum