LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RHEL5, lspci not working (https://www.linuxquestions.org/questions/linux-newbie-8/rhel5-lspci-not-working-741981/)

fzanella 07-22-2009 11:05 AM

RHEL5, lspci not working
 
I have RHEL5.3 as the OS, I'm trying to determine what graphics card is in the system so I can install the correct Nvidia driver. I typed in 'lspci' and received 'command not found'. lspci exists in the /sbin folder. Is there a way to make it work?

markush 07-22-2009 11:23 AM

Hi, when logged in as a normal user (not as root) the /sbin directory is not in your path. Try
Quote:

/sbin/lspci
instead. to find your graphics-adapter you can use grep:
Quote:

/sbin/lspci | grep -i graphics
which will only show the line where your graphics-adapter is listed.

Markus

fzanella 07-22-2009 04:01 PM

Thank you very much, Markus. That worked.


All times are GMT -5. The time now is 12:49 PM.