June 27th, 2004, 11:50 AM #1
linux: quick "ls" command question
Im not very familiar with linux commands yet but trying to learn. Using the ls command in a terminal program such as konsole I can simply scroll, so if the list is really long its not that big of a deal. However, If im not in x server and I just use ls i cant scroll up, and consequently I cant see what I need to on occasion.
Is there any equivilent to the "/p" switch like in dos for the DIR command so it goes page by page? I skimmed through '"ls --help" but didnt see anything
Another side question, is there any way to actualy shutdown x-server without changing my auto-login settings and stuff? I was trying to install the nvidia drivers in mandrake 10, and wasnt able to figuore out how to do it. If I logged out, it would just give me the graphical user selection screen with choices to reboot/halt
I really like the autologin on startup so I'd like to keep that if possible. Just wondering if there was like a keybaord command or something.
June 27th, 2004, 12:26 PM #2
ctrl alt backspace restarts the X server if thats what you need.
actually, now that you mention it, you can just edit the /etc/inittab and chage the run level from 5 to 3. just reboot and X wont start so you can install the nvidia drivers. then you can just change it back afterwards.
Last edited by S.D.Willie; June 27th, 2004 at 12:29 PM.
June 27th, 2004, 01:49 PM #3Originally Posted by VHockey86
June 27th, 2004, 02:50 PM #4
ls | more only lets you scroll forward with the return key; ls | less allows scrolling in both directions using the up/down arrow keys.
June 27th, 2004, 06:32 PM #5
Another way to do is to simply hold down the SHIfT key while you press PageUp or PageDown to scroll. That way you don't have to type extra on the command each time.
June 27th, 2004, 07:24 PM #6
please mind your language on the forums, samwichse
hold down the S**T key
Last edited by paul9; June 27th, 2004 at 08:03 PM.
June 28th, 2004, 10:26 AM #7
i try to use that key at least once a day.
June 28th, 2004, 03:55 PM #8
June 29th, 2004, 07:21 AM #9
Isn't that the one between left control+alt with the dodgy logo on it?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By ForestRanger in forum Networking and InternetReplies: 21Last Post: September 10th, 2003, 02:00 AM
By sminklogo in forum Graphic Design and Digital PhotographyReplies: 40Last Post: May 20th, 2003, 04:32 AM
By dlh75 in forum Applications and Operating SystemsReplies: 2Last Post: February 5th, 2003, 10:07 PM
By Chooco in forum IMO CommunityReplies: 19Last Post: March 21st, 2002, 04:28 AM
By dragonb in forum Applications and Operating SystemsReplies: 1Last Post: January 20th, 2002, 06:20 PM