LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-13-2007, 05:15 AM   #1
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13

Rep: Reputation: 0
Question 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.
 
Old 12-13-2007, 05:26 AM   #2
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 12-13-2007, 06:04 AM   #3
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
I think that only dmidecode will provide you this information. However regular users may not use this command.
 
1 members found this post helpful.
Old 12-13-2007, 06:22 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Try "lshal | grep system\.hardware". The information is spread across several items.
 
Old 12-13-2007, 06:24 AM   #5
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
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
 
Old 12-13-2007, 07:00 AM   #6
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up

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.
 
Old 12-13-2007, 07:26 AM   #7
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Rep: Reputation: 15
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..
 
Old 12-14-2007, 01:20 AM   #8
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Unhappy 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.
 
  


Reply

Tags
box, command, linux, manufacturer, model, will


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need a linux command which will give me Manufacturer and Model of the Linux box. adastane Solaris / OpenSolaris 3 12-13-2007 05:23 AM
memory manufacturer command hcclnoodles Solaris / OpenSolaris 4 10-19-2006 03:52 AM
Hey can any 1 give me a listing of cards that work with linux right out of the box? lucas2676 Linux - Wireless Networking 2 07-11-2004 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration