terminal problem

If you are new to YDL and have some more or less basic questions.

terminal problem

Postby leemckelvey » 30 Jan 2009, 10:43

hello there, my first post here :)

i recently installed YDL 6.1 for the first time and everything installed smoothly, the OS works fine but i have a few problems regarding the terminal.
Now i am very new to linux but i seem to get no response when i type lspci into the terminal, i have done this before when i tried ubuntu but in ydl i get nothing, it just tells me "command not found", have i missed something? i did the default installation so im sure ive not made a mistake, should i be doing commands from a particular directory?

thanks

Lee
leemckelvey
ydl newbie
ydl newbie
 
Posts: 7
Joined: 30 Jan 2009, 06:31
Location: Xi'an, China

Re: terminal problem

Postby leemckelvey » 30 Jan 2009, 10:58

nevermind i got it, i needed to type /sbin/lspci.

Lee
leemckelvey
ydl newbie
ydl newbie
 
Posts: 7
Joined: 30 Jan 2009, 06:31
Location: Xi'an, China

Re: terminal problem

Postby billb » 30 Jan 2009, 13:12

Right -- the "problem" is that regular users don't have /sbin in their command search path. The root user does, so you can also temporarily become root like this:

Code: Select all
su -

<enter root password>

And note there's a difference between "su -" and "su" by itself (without the hyphen).
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: terminal problem

Postby leemckelvey » 30 Jan 2009, 13:31

ah yes, thanks very much i tried su - and it worked :D

linux is hard but very nice to work with.

Lee
leemckelvey
ydl newbie
ydl newbie
 
Posts: 7
Joined: 30 Jan 2009, 06:31
Location: Xi'an, China


Return to Beginner

Who is online

Users browsing this forum: No registered users and 5 guests