LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Knowing which partition (https://www.linuxquestions.org/questions/linux-newbie-8/knowing-which-partition-562379/)

frenchn00b 06-17-2007 02:54 AM

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

Tinkster 06-17-2007 03:09 AM

fdisk -l
cfdisk
...




Cheers,
Tink

Simon Bridge 06-17-2007 03:09 AM

fdisk -l

... google for a bash tutorial.

frenchn00b 06-17-2007 05:16 AM

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....:scratch:

Simon Bridge 06-17-2007 05:44 AM

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?


All times are GMT -5. The time now is 08:14 AM.