---
tags: [procedural, linux]
created: Monday, February 10, 2025
---

# Disk size utilities

## Compare size of two directories in human-readable format

```sh
du -sh /dir_one /dir_two
```

## View total capacity and space used

```sh
df -h /media/samsung-T7 # add more to compare if you like

# Filesystem              Size  Used Avail Use% Mounted on
# /dev/mapper/samsung-T7  916G   67G  850G   8% /media/samsung-T7

```
