LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-13-2004, 11:01 AM   #1
CleonII
Member
 
Registered: May 2003
Location: Buenos Aires, Argentina
Distribution: Debian
Posts: 61

Rep: Reputation: 15
How to Know mi hard by command line


Hello
i wanna know what hard i have, what micro what hd how much ram how much hd space and all that stuff.
anyone know how to do it whit the command line?

thaxns for advanced
 
Old 04-13-2004, 11:06 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
hdparm, df, who, free, uptime, last, ps, top, ping

not in that order.

there is an endless array of command line progs to tell you almost anything you want to know about your box. And most of it comes from files in the /proc directory. I'd suggest first reading more about what files are in /proc.
 
Old 04-13-2004, 11:08 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Assuming 'micro' means cpu...
There are various files in /proc for this sort of stuff, like (for the processor/cpu) /proc/cpuinfo. So to see the cpu, you would run:
cat /proc/cpuinfo
Look around in /proc for other useful files. For free hd space, I don't think this is in /proc, the command for this is 'df'.
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
Copy A File Off A CD To The Hard Drive In Command Line nickae77 Linux - Newbie 4 05-21-2004 04:38 AM
hard drive information with command line Mugatu Linux - Newbie 3 01-08-2004 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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