Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2009, 11:05 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 21

Rep: Reputation: 1
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?
Old 07-22-2009, 11:23 AM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi, when logged in as a normal user (not as root) the /sbin directory is not in your path. Try
instead. to find your graphics-adapter you can use grep:
/sbin/lspci | grep -i graphics
which will only show the line where your graphics-adapter is listed.


Last edited by markush; 07-22-2009 at 11:26 AM. Reason: added some text
Old 07-22-2009, 04:01 PM   #3
LQ Newbie
Registered: Feb 2009
Posts: 21

Original Poster
Rep: Reputation: 1
Thank you very much, Markus. That worked.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lspci command not working callmeleroi Linux - Software 3 01-21-2007 11:49 AM
if lspci does not show it, is it working? fatblueduck Linux - Hardware 2 10-30-2005 01:37 AM
lspci command not working lowebb Linux - General 1 10-24-2005 01:22 PM
lspci command not working in FC3 pookguy88 Linux - Newbie 9 01-19-2005 02:52 AM
USB working/not lspci & dmesg civ247 Linux - Hardware 0 07-09-2004 10:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration