LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-22-2009, 12:05 PM   #1
fzanella
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, 12:23 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
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

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

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


Reply


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 12:49 PM
if lspci does not show it, is it working? fatblueduck Linux - Hardware 2 10-30-2005 02:37 AM
lspci command not working lowebb Linux - General 1 10-24-2005 02:22 PM
lspci command not working in FC3 pookguy88 Linux - Newbie 9 01-19-2005 03:52 AM
USB working/not lspci & dmesg civ247 Linux - Hardware 0 07-09-2004 11:23 AM


All times are GMT -5. The time now is 04:57 PM.

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