LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-17-2007, 02:54 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Knowing which partition


In the console, is there a way or a script to get the partitions informations (via root or sudo):
as:
http://www.thiesen.org/d-i/partition-3.png

This in one command, avoiding pinging fdisk -l /dev/

Thank you

Last edited by frenchn00b; 06-17-2007 at 05:14 AM.
 
Old 06-17-2007, 03:09 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
fdisk -l
cfdisk
...




Cheers,
Tink
 
Old 06-17-2007, 03:09 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
fdisk -l

... google for a bash tutorial.
 
Old 06-17-2007, 05:16 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Tinkster
fdisk -l
cfdisk
...




Cheers,
Tink
I changed the title of the first post. I wouldnt like to fdisk -l.

I just would like a clear overview like in the link of my whole system. Clear, fast, & easy.
I think I'll have to check hte code of the debian install iso cdimage disks to get to know the code they use to make their hardware checking....
 
Old 06-17-2007, 05:44 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I wouldnt like to fdisk -l
What??
Quote:
I just would like a clear overview like in the link of my whole system.
That is what fdisk -l does! The overview in the link was generated by fdisk!
Quote:
I think I'll have to check the code of the debian install iso cdimage disks to get to know the code they use to make their hardware checking....
You won't use fdisk but you are prepared to hunt through source-code?!

I suppose there is always system > preferences > hardware information. What exactly are you trying to achieve?
 
  


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
Anyone knowing Prolog manolakis Programming 2 12-04-2006 10:51 PM
knowing remote ip address slack66 Slackware 8 09-14-2006 01:58 PM
Need help in knowing few commands venky_2_2000 Linux - Software 4 01-08-2006 12:59 AM
Knowing your IP Jose Muņiz Linux - Networking 11 06-26-2004 02:01 PM
Knowing what runs behind hhegab Linux - Distributions 2 09-28-2003 09:16 AM

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

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