Page 1 of 1

terminal problem

PostPosted: 30 Jan 2009, 10:43
by leemckelvey
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

Re: terminal problem

PostPosted: 30 Jan 2009, 10:58
by leemckelvey
nevermind i got it, i needed to type /sbin/lspci.

Lee

Re: terminal problem

PostPosted: 30 Jan 2009, 13:12
by billb
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).

Re: terminal problem

PostPosted: 30 Jan 2009, 13:31
by leemckelvey
ah yes, thanks very much i tried su - and it worked :D

linux is hard but very nice to work with.

Lee