On Thu, 24 Sep 2009 08:05:20 +0100 hadi motamedi wrote:
Thank you for your message . Sorry that I didn't exactly explain my problem . Please be informed that after issuing "#yum install lshw" , I tried to issue the lshw command but my CentOS server returned "command not found" . Can you please let me know what is my problem at now ?
/usr/sbin is not on your current path, and that's where the lshw binary lives.
You have two choices:
su -
lshw
or
su -c /usr/sbin/lshw