Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-13-2007, 05:15 AM
|
#1
|
LQ Newbie
Registered: Dec 2007
Posts: 13
Rep:
|
Need a linux command which will give me Manufacturer and Model of the Linux box
Hello Team,
I need a linux command which will give me Manufacturer and Model of the Linux box.
The constraint is, it should work for both root and non root user.
Thanks is advance for your help.
Regards,
Adastane.
|
|
|
12-13-2007, 05:26 AM
|
#2
|
LQ Newbie
Registered: Dec 2007
Posts: 13
Original Poster
Rep:
|
Hello,
Need a linux command which will give me Manufacturer and Model of the Linux box.
Regards,
Adastane.
Last edited by adastane; 12-13-2007 at 05:51 AM.
|
|
|
12-13-2007, 06:04 AM
|
#3
|
Member
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399
Rep:
|
I think that only dmidecode will provide you this information. However regular users may not use this command.
|
|
1 members found this post helpful.
|
12-13-2007, 06:22 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Try "lshal | grep system\.hardware". The information is spread across several items.
|
|
|
12-13-2007, 06:24 AM
|
#5
|
Member
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446
Rep:
|
lshw (Got to run as root) will give you a lot of information. It doesn't recognize if its a dell or whatever brand (since they only mount computer parts). It will however give you a lot of information like the MB vendor, firmware, CPU, socket, RAM vendor, and lots of nice information.
Not every distro come with lshw, but it's out there - somewhere
|
|
|
12-13-2007, 07:00 AM
|
#6
|
LQ Newbie
Registered: Dec 2007
Posts: 13
Original Poster
Rep:
|
I want to Thank all of your for your quick reply .
So here is my conclusion.
1) dmidecode command will give me system information with root user and not with non root user.
2) lshw is a third party utility which also gives the same information (only root user).
3)"lshal | grep system\.hardware" command didnt given me sufficient info.
With Regards,
Adastane.
|
|
|
12-13-2007, 07:26 AM
|
#7
|
Member
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104
Rep:
|
hello adastane..
here are few cmd that might help
1. /sbin/lspci -> h/w info
2. lspci -> chipset and pci bus info
3. dmesg -> sys info
4. dmesg | tail -> search all devices attached to the sys.
5. /proc/cpuinfo -> cpu info
6. /etc/issue -> version info
7. lsmod -> kernel info
8. uname -r -> kernel info
i hope this might help u...
want sth more specific let me know..
|
|
|
12-14-2007, 01:20 AM
|
#8
|
LQ Newbie
Registered: Dec 2007
Posts: 13
Original Poster
Rep:
|
Am still seraching the exact command...
Thanks nick021...
I have verified the commands,but I am still finding the exact command which will work with root and non root user and give me Manufacturer and Model of Linux hardware box.
Regards,
Adastane.
|
|
|
All times are GMT -5. The time now is 05:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|