Hello Friends ,
“Happy RAINY DAYS WINTER” to all of you
After Enjoyment …
Today I am going to show you , How can we check All Hardware details (like CPU,MOTHERBOARD,HARDDISK, RAM, ETHERNET etc…..) in Linux on WEB BROWSER..
Lets PLAY with Linux :-
Download package of lshw from http://pkgs.repoforge.org/lshw/:-
[root@sahil ~]# wget http://pkgs.repoforge.org/lshw/lshw-2.17-1.el6.rf.i686.rpm
Install Package using rpm:-
[root@sahil ~]# rpm -ivh lshw-2……………..rpm
OR
You can install by using yum(Enable repo like epel):-
[root@sahil ~]# yum install lshw -y
Checked installed Package of lshw :-
[root@sahil ~]# rpm -qa |grep lshw
lshw-2.02.17-3.el6.i686
You can take help from lshw 🙂
[root@sahil ~]# lshw –help
Hardware Lister (lshw) – B.02.15
usage: lshw [-format] [-options …]
lshw -version
-version print program version (B.02.15)
format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-short output hardware paths
-businfo output bus information
options can be
-dump OUTFILE save hardware tree to a file
-class CLASS only show a certain class of hardware
-C CLASS same as ‘-class CLASS’
-c CLASS same as ‘-class CLASS’
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don’t display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)
-numeric output numeric IDs (for PCI, USB, etc.)
As we are seeing above we can get our hardware information via multiple ways 🙂
We are just creating a html file to output hardware tree as HTML Page :-
Create HTML FILE:-
[root@sahil ~]# lshw -html > /var/www/html/index.html
[root@sahil ~]#
Now Test :- Open your Favorite Web browser, in my case this is MOZIILA-FIREFOX:)
http://192.168.11.10
Hooooooooo hAAAAAAAAAAA 🙂
HAPPY HOT LINUX-ING IN WINTER 🙂 🙂 🙂



Good Job
@mafatahna Thank you