You are not logged in or registered. Please login or register to use the full functionality of this board...

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a list of hardware on a linux machine
07-07-2011, 07:13 PM
Post: #1
How to get a list of hardware on a linux machine
You can list the hardware components of a Linux based machine easily with lshw.

First you will have to download the rpm:

Code:
wget http://pkgs.repoforge.org/lshw/


Once you have downloaded it you can run the file:

Code:
rpm -Uvh lshw-2.11-1.el5.rf.x86_64.rpm


Now that it is installed you can run the command:

Code:
lshw


This will display a detailed outline of what hardware you are running.

More info:

lshw - list hardware

Synopsis

lshw [ -version ]

lshw [ -help ]

lshw [ -X ]

lshw [ -html | -short | -xml | -businfo ] [ -class class ... ] [ -disable test ... ] [ -enable test ... ] [ -sanitize ] [ -numeric ] [ -quiet ]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)