Select Page

ABIOLA RASP – Raspberries for African School Projects

Wie können wir helfen?

< Alle Themen

Show disk partitions and sizes

no-841 au-03


fdisk stands (for “fixed disk” or “format disk”) is an most commonly used command-line based disk manipulation utility for a Linux/Unix systems. The fdisk utility lets you create and manage partitions on a hard disk. The partition information, which is kept in the disk’s first physical block, matches that used by DOS.

Show disk partitions and sizes

You can the fdisk command with -l option to show disk partitions and sizes.

You can run fdisk only if you’re root or have read/write permissions for the block-special file concerned, so you need to use sudo command.

1) Run below command

sudo fdisk -l

2) Partition name.

3) Size of the partition

This article is a component of the “Linux Introduction” course from the ABIOLA online Academy.

Please refer:

Zurück Change the file ownership
Weiter Show target mount point for all filesystems