fdisk, lsblk, df, and du
Among the utilities used in Linux systems to manage filesystems, there’s fdisk
, lsblk
, df
, and du
. Each of these utilities performs a specific function in disk management, and their proper use is essential to ensure the efficient functioning of the system.
We introduced fdisk
, a command-line utility that’s used to partition disks, previously. It allows us to create and modify partition tables, enabling administrators to organize storage space as required. Partitioning is essential for efficiently utilizing storage space, improving system performance, and simplifying the management of the filesystem. fdisk
can create different types of partitions, including primary, logical, and extended partitions. Additionally, it can be used to change the partition size, delete partitions, and modify partition types. Without fdisk
, managing and organizing the filesystem would be complex, cumbersome, and prone to errors. We can call this command by simply...