Monday, August 8, 2011

Commands To Remember - "lshw"

The `lshw` is among the most important command in the linux system. This command is comparatively better than `ioscan` command of HP-UX as its comes with lot many switches and the output can be formatted in numerous ways.

For example, when we run the command
[root@localhost~:]#lshw -short


It system in the hierarchical way.Out put is similar to `ioscan`

To check the network devices the the various parameters:
[root@localhost~:]#lshw -C network

[root@localhost~:]#lshw -C disk






No comments:

Post a Comment