du
du is a Linux command in the System Info category, rated intermediate difficulty. Estimates file and directory space usage. The syntax is du [options] [path]. Key options and parameters: path — directory to analyze. It returns disk usage for each item. A practical example: du -sh * # Human-readable sizes in current dir du -sh /home/user # Total size of a directory du --max-depth=1 # One level only du -sh .[!.]* * # Include hidden files A close relative is uname, which displays system information (kernel name, hostname, architecture). A close relative is df, which reports disk space usage for mounted filesystems. A close relative is free, which displays memory usage (RAM + swap). More about this category: Linux system info commands — uname, df, du, free, uptime, lscpu, and more. View system information and hardware details. Related System Info commands: uname, df, free, uptime, lscpu, lsusb, lspci, hostname.