Sunday, January 12, 2014

lshw command in Linux

lshw command Examples in Linux

Command: lshw

Command Usage: lshw  is  a  small tool to extract detailed information on the hardware configuration of the machine.

Syntax: $ lshw [-format] [-options ...]

Examples:

1. To show the detailed description of hardware

     # lshw

2. To print compact report

     # lshw -short

3. To print details about RAM

     # lshw -class memory

4. To print details about HDD

     # lshw -class disk

5. To print help info of this command

     # lshw --help

6. To print details about processor

     # lshw -class processor

7. To print without sensitive details like serial numbers

     # lshw -sanitize

8. To print numeric IDs of USB, PCI

    # lshw -numeric

lshw command in Linux

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers