Mastering Disk Partitioning with fdisk on Linux
Only users with root privileges or those granted sudo access can execute partitioning operations. Most modern Linux distributions include fdisk by default, including Ubuntu, Debian, Fedora, CentOS, Arch Linux, and Raspbian. On systems where itβs not in the default PATH, install it via the util-linux package.
Basic Syntax
fdisk [options] <dev ...
Posted on Thu, 10 Sep 2026 16:36:53 +0000 by Ange52
Linux File Operations and Disk Management: A Practical Guide
File System and Disk Management Basics
To inspect disk usage on your system, use df -h:
df -h
To check directory sizes, use du with various options:
du -h β display sizes in human-readable format (K, M, G).
du -a β show sizes for all files in the directory tree.
du -d N β limit depth to N levels. For example, du -h -d 0 ~ shows only the ho ...
Posted on Thu, 21 May 2026 18:04:04 +0000 by Daen