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 08-08-2006, 01:06 AM   #1
kimut
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
How to list the active device


how could I know or display list of device that we attach...
what command should use?....(from the shell)

in RH it's like when we go to
system tool->hardware browser->hard drive
there's a list of device...

your help would be great apreciate

thanks
 
Old 08-08-2006, 01:21 AM   #2
tgo
Member
 
Registered: Dec 2004
Posts: 125

Rep: Reputation: 15
ive never used redhat but im thinking ( as root )

dmesg
and/or
lspci

will give you what you are looking for
 
Old 08-08-2006, 09:09 AM   #3
brainiac
Member
 
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145

Rep: Reputation: 15
fdisk -l /dev/hda will "list" the partitions on the first ide drive "sda" first SCSI, etc.
 
Old 08-08-2006, 10:40 AM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,159

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
A few commands that may reveal stuff that's installed. These may be slightly different depending on what hardware you have installed. You can get the idea though - snoop around in /proc. Don't worry that the "files" under /proc appear to be zero-length. They're not real files (they're memory, actually).
Code:
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/scsi/scsi
cat /proc/ide/hda/model
cat /proc/ide/hdb/model
cat /proc/partitions
cat /proc/asound/cards
cat /proc/version
lspci
lsusb
cat /etc/X11/xorg.conf or /etc/X11/XF86Config-4
 
  


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
USB device not claimed by an active driver cap_ahab Linux - Hardware 0 02-20-2006 07:55 AM
How Do You List Active Flows On Linux Box marvin00001 Linux - Networking 1 09-26-2005 11:08 AM
Quickly view a list of active services vharishankar Linux - General 19 04-02-2005 09:23 AM
howto test if an ethernet device is active six6 Programming 1 01-28-2005 02:39 AM
active device list hinetvenkat Linux - Enterprise 0 12-20-2004 03:44 PM


All times are GMT -5. The time now is 03:49 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