LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-22-2013, 10:16 AM   #1
hieunguyen
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Display my hardware (disk drive, CD Rom, etc...)


How can I display my hardware by using Linux command? I used iosan on Unix. Please help me. Thank you so much!
 
Old 08-22-2013, 10:28 AM   #2
PECONET009
Member
 
Registered: Sep 2006
Location: Finland.
Distribution: kali linux.
Posts: 156

Rep: Reputation: 21
Lightbulb These might help you..

Quote:
Originally Posted by hieunguyen View Post
How can I display my hardware by using Linux command? I used iosan on Unix. Please help me. Thank you so much!
Show kernel version and system architecture:
uname -a

Show name and version of distribution:
head -n1 /etc/issue

Show all partitions registered on the system:
cat /proc/partitions

Show RAM total seen by the system:
grep MemTotal /proc/meminfo

Show CPU(s) info:
grep "model name" /proc/cpuinfo

Show info about disk sda:
hdparm -i /dev/sda
 
Old 08-22-2013, 10:32 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Hi!

Use LSHW (among others)

I dont know what distro you use, so here goes (what I can remember)

Debian/Ubuntu and derivates : apt-get install lshw
Fedora and derivares : yum install lshw
Arch/Manjaro : pacman -S lshw

(apologies to the others...I dont remember these commands)

Done @ console, or...check the package manager in the Desktop Environment...

Welcome to the forum! Your question answers what we ask when we try to help: "what's your hardware?" - and using LSHW helps others get an image of what an asker is using...

Thanks

Thor
 
Old 08-22-2013, 02:23 PM   #4
hieunguyen
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hardware

Dist. CentOS
 
Old 08-24-2013, 08:21 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
In that case

Quote:
yum install lshw
(or ay of the other suggested things, if they're not already in there) - by the way, of course you'll need to have Root rights:

Quote:
su -
[password]
where the hyphen is part of the entry, that is "su" - space - hyphen...

Thor
 
Old 08-24-2013, 10:12 AM   #6
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
What kind of info do you want?

dmidecode

lshw

lspci -vv

free

gkrellm for monitoring.
 
  


Reply


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
Downloading DSL via CD-ROM or A:\: Drive/Floppy Disk - Help 2sassy DamnSmallLinux 5 03-30-2008 09:04 PM
Help on mounting Hard Disk Drive and CD-ROM drive in Dapper. ussr_1991 Ubuntu 2 08-18-2007 11:33 PM
Boot disk won't detect old computer's CD-ROM drive vincebs Slackware - Installation 9 02-16-2004 04:44 PM
is a cd rom drive considered a hard disk? Colonel Panic General 3 07-27-2001 03:19 AM

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

All times are GMT -5. The time now is 01:15 AM.

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