LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-24-2011, 09:16 AM   #1
jpfrenchy
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Question what kind of pc i have?????


hello
what can I do to find out how many ram, size of hard drive, .....and so on, I have in my pc.
I'm new w/ Linux and what ever I know with window doesnot neceseray work.
Thank you
Jpfrenchy
 
Old 08-24-2011, 09:26 AM   #2
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
uname -a will give your hostname and kernel name

have a look at lspci

sudo /proc/meminfo
* will give you info about memory


I just smashed this as i have to go to class :S (night time classes !! arrgghhh !! )

But this will get you going if no-one else comments soon. Just do a quick google search! it will turn up heaps i just had a quick look

Have a good one.
 
1 members found this post helpful.
Old 08-24-2011, 09:45 AM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

try
Code:
sudo hwinfo
This will give you a huge amount of information about your pc, probably too much for a newbie. So here are some other commands that will also give you some info (not all) about your pc (run as root):
Code:
# info about your harddrives
fdisk -l

# info about installed hardware
lspci

# cpuinfo
cat /proc/cpuinfo

# meminfo
cat /proc/meminfo
# OR
free
 
2 members found this post helpful.
Old 08-24-2011, 05:16 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
df -h would be friendlier for hard disk sizes.
 
Old 08-24-2011, 06:49 PM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by schneidz View Post
df -h would be friendlier for hard disk sizes.
This will report only mounted partitions and not the device itself.
 
1 members found this post helpful.
Old 08-24-2011, 08:41 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,363

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Other options may include lshw, lsusb and the contents of /var/log/boot.log, /var/log/dmesg.
also, please post output of
Code:
cat /etc/*release*
and add to your profile; it should tell you what distro & version you have.

HTH & Welcome to LQ

PS good tutorial
http://rute.2038bug.com/index.html.gz

Last edited by chrism01; 08-24-2011 at 08:42 PM.
 
Old 08-24-2011, 08:54 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,351
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
What distro are you using?

Debian comes with a "System Information" tool which as actually a program called "hardinfo." It will display the information in a way that someone used to Windows System-->Device manager will quickly become comfortable with.

Gnome has a Gnome Control Center which will give you a lot of that information, and KDE as a System Information application.

If you don't have hardinfo installed, you can likely find it in your repos if you have a system that uses repositories.

The HardInfo website appears to be broken right now. Here's a link to a blog post I wrote about it last year: http://www.geekazine.com/news/franks...mation-utility
 
Old 08-25-2011, 12:16 AM   #8
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Code:
sudo /usr/sbin/dmidecode
Code:
cat /etc/issue

Last edited by Aquarius_Girl; 08-25-2011 at 12:18 AM.
 
1 members found this post helpful.
Old 08-25-2011, 05:38 AM   #9
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by frankbell View Post
What distro are you using?

Debian comes with a "System Information" tool which as actually a program called "hardinfo." It will display the information in a way that someone used to Windows System-->Device manager will quickly become comfortable with.

Gnome has a Gnome Control Center which will give you a lot of that information, and KDE as a System Information application.
hardinfo is hardinfo when you check the packages with debian, it just appears as 'system profiler and benchmark' in the menus. (I really wish that debian would fix that, hardinfo isnt a good benchmarker).

The KDE 'System Information application' is kinfocenter.

Quote:
Originally Posted by chrism01 View Post
Other options may include lshw
That covers the only tools I use commonly to get hardware info, lshw and hardinfo. I do use the others from time to time, but lshw gets by far the most use.

Quote:
Originally Posted by jpfrenchy View Post
what can I do to find out how many ram, size of hard drive, .....and so on, I have in my pc.
I'm new w/ Linux and what ever I know with window doesnot neceseray work.
You can find out a lot of that info from the BIOS as well. OS free hardware info.
 
Old 08-25-2011, 11:14 AM   #10
goossen
Member
 
Registered: May 2006
Location: Bayern, Germany
Distribution: Many
Posts: 224

Rep: Reputation: 41
Thumbs up

[QUOTE=Anisha Kaul;4452748]
Code:
sudo /usr/sbin/dmidecode
That's is one of the most (if not the most) complete command to get info about your hardware.
 
Old 08-25-2011, 08:57 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,351
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
Quote:
Originally Posted by cascade9 View Post
The KDE 'System Information application' is kinfocenter.
Thanks. I couldn't remember whether or not KDE had changed the name for v. 3.x.

I find kinfocenter provides far more thorough information than Gnome Control Center.
 
  


Reply



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 your kind help~ jcky Linux - Newbie 1 06-07-2011 09:09 AM
I'm kind of new yodahome LinuxQuestions.org Member Intro 3 03-20-2008 12:38 PM
WebMail Kind Of joelhop Linux - Software 4 12-29-2005 01:03 PM
kind of a programming quesion...kind of not tho jhorvath Programming 2 06-30-2003 10:05 PM
What kind of X? alitrix Slackware 6 06-13-2003 03:59 AM

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

All times are GMT -5. The time now is 07:32 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