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