Code:
sudo fdisk - l
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u <size> give sizes in sectors instead of cylinders
-v print version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
Code:
sudo blkid
/dev/sda1: UUID="482ACC132ACBFC46" TYPE="ntfs"
/dev/sda6: UUID="d6bf38b2-d806-4226-b53d-f6969c5e7ece" TYPE="swap"
/dev/sda5: UUID="ae6e05b2-bfaf-41ac-9ca0-a3cc7138df3a" TYPE="ext4"
Code:
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 131002916 10076508 114271792 9% /
none 1802112 316 1801796 1% /dev
none 1806332 1784 1804548 1% /dev/shm
none 1806332 196 1806136 1% /var/run
none 1806332 0 1806332 0% /var/lock
none 1806332 0 1806332 0% /lib/init/rw
Bookmarks