Skip to main content

How do you check disk usage in Linux? I’m sure that is a question many of us have wondered especially when first learning Linux. There are many tools out there that can help us view this information about our system. In my opinion, a lot of them just look ugly, simple to understand but still ugly – I’m a man of style! So that is why we’re going to take a look at the duf command found on GitHub. It is very informative, written in GoLang and has a few handy features some of you might find useful like exporting data as JSON.

Installing DUF

If you’re lucky, duf might be in your local repository but sadly for me on Ubuntu 20.04 LTS, it was not. So lets go over installing it from the repository and manually downloading the package.

If the package is not in your repository, then head over to the releases page to manually download the right package for your system and architecture from the GitHub releases page.

Ubuntu/Debian

sudo apt install duf

Arch/Garuda

sudo pacman -Sy duf

Fedora/RHEL

sudo dnf install duf

Basic Usage

At the very most basic level, simply run the command duf and you will get the following output.

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 2 local devices                                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚   SIZE โ”‚ USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /          โ”‚  19.1G โ”‚ 6.9G โ”‚  11.1G โ”‚ [#######.............]  36.4% โ”‚ ext4 โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi  โ”‚ 511.0M โ”‚ 4.0K โ”‚ 511.0M โ”‚ [....................]   0.0% โ”‚ vfat โ”‚ /dev/vda1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 7 special devices                                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON     โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev           โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ devtmpfs โ”‚ udev       โ”‚
โ”‚ /dev/shm       โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run           โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/lock      โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1000 โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1001 โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /sys/fs/cgroup โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Doesn’t that just look pretty?

Checking Directory/Mount Usage

For most users the default output from duf should be more than enough especially if you’re only interested in usage at-a-glance. So on the machine I’m working on, I have added 2 additional drives of 5G each. Notice how in the last output, you do not see them. This is because we first have to mount them so I will do that now and re-run duf.

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 4 local devices                                                                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /          โ”‚  19.1G โ”‚  6.9G โ”‚  11.1G โ”‚ [#######.............]  36.4% โ”‚ ext4 โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi  โ”‚ 511.0M โ”‚  4.0K โ”‚ 511.0M โ”‚ [....................]   0.0% โ”‚ vfat โ”‚ /dev/vda1  โ”‚
โ”‚ /mnt/a     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdb1  โ”‚
โ”‚ /mnt/b     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdc1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 7 special devices                                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON     โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev           โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ devtmpfs โ”‚ udev       โ”‚
โ”‚ /dev/shm       โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run           โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/lock      โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1000 โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1001 โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /sys/fs/cgroup โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

As you can see under local devices, I now have /mnt/a and /mnt/b. Now that we know where they are mounted, lets check for that mount usage alone.

linuxman@ubuntu:~$ duf /mnt/a
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 1 local device                                                                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚ SIZE โ”‚  USED โ”‚ AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /mnt/a     โ”‚ 4.9G โ”‚ 20.0M โ”‚  4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdb1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Little note about duf is that it cannot be used to check disk usage of a directory/file. If you run duf on separate directories but they are part of the same filesystem, then the output will show the filesystem of both directories. It’s still kind of neat!

Checking Misc Mounts

What about loop devices? Thought I forgot about those didn’t ya? While I have not taken my memory pills in a while (swallows 3), I still remembered there is a way to check for other mount types on the system. If you have a disk image mounted or maybe (God forbid) a snap package mounted, you can check them by using the --all switch.

linuxman@ubuntu:~$ duf --all
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 14 local devices                                                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON                   โ”‚   SIZE โ”‚   USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /                            โ”‚  19.1G โ”‚   6.9G โ”‚  11.1G โ”‚ [#######.............]  36.4% โ”‚ ext4     โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi                    โ”‚ 511.0M โ”‚   4.0K โ”‚ 511.0M โ”‚ [....................]   0.0% โ”‚ vfat     โ”‚ /dev/vda1  โ”‚
โ”‚ /mnt/a                       โ”‚   4.9G โ”‚  20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4     โ”‚ /dev/vdb1  โ”‚
โ”‚ /mnt/b                       โ”‚   4.9G โ”‚  20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4     โ”‚ /dev/vdc1  โ”‚
โ”‚ /snap/bare/5                 โ”‚ 128.0K โ”‚ 128.0K โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop0 โ”‚
โ”‚ /snap/core20/1328            โ”‚  62.0M โ”‚  62.0M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop1 โ”‚
โ”‚ /snap/core20/1518            โ”‚  62.0M โ”‚  62.0M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop3 โ”‚
โ”‚ /snap/gnome-3-38-2004/106    โ”‚ 254.1M โ”‚ 254.1M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop2 โ”‚
โ”‚ /snap/gnome-3-38-2004/99     โ”‚ 248.9M โ”‚ 248.9M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop4 โ”‚
โ”‚ /snap/gtk-common-themes/1519 โ”‚  65.2M โ”‚  65.2M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop5 โ”‚
โ”‚ /snap/gtk-common-themes/1534 โ”‚  81.4M โ”‚  81.4M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop6 โ”‚
โ”‚ /snap/snap-store/558         โ”‚  54.2M โ”‚  54.2M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop8 โ”‚
โ”‚ /snap/snapd/14978            โ”‚  43.6M โ”‚  43.6M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop9 โ”‚
โ”‚ /snap/snapd/16010            โ”‚  47.0M โ”‚  47.0M โ”‚     0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop7 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 1 fuse device                                                                   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON          โ”‚ SIZE โ”‚ USED โ”‚ AVAIL โ”‚ USE% โ”‚ TYPE            โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /run/user/1000/gvfs โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ fuse.gvfsd-fuse โ”‚ gvfsd-fuse โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 35 special devices                                                                                                    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON                      โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE        โ”‚ FILESYSTEM  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev                            โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ devtmpfs    โ”‚ udev        โ”‚
โ”‚ /dev/hugepages                  โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ hugetlbfs   โ”‚ hugetlbfs   โ”‚
โ”‚ /dev/mqueue                     โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ mqueue      โ”‚ mqueue      โ”‚
โ”‚ /dev/pts                        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ devpts      โ”‚ devpts      โ”‚
โ”‚ /dev/shm                        โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /proc                           โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ proc        โ”‚ proc        โ”‚
โ”‚ /proc/sys/fs/binfmt_misc        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ autofs      โ”‚ systemd-1   โ”‚
โ”‚ /proc/sys/fs/binfmt_misc        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ binfmt_misc โ”‚ binfmt_misc โ”‚
โ”‚ /run                            โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /run/lock                       โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /run/user/1000                  โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /run/user/1001                  โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /sys                            โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ sysfs       โ”‚ sysfs       โ”‚
โ”‚ /sys/fs/bpf                     โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ bpf         โ”‚ none        โ”‚
โ”‚ /sys/fs/cgroup                  โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /sys/fs/cgroup/blkio            โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/cpu,cpuacct      โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/cpuset           โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/devices          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/freezer          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/hugetlb          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/memory           โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/misc             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/net_cls,net_prio โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/perf_event       โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/pids             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/rdma             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/systemd          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/unified          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup2     โ”‚ cgroup2     โ”‚
โ”‚ /sys/fs/fuse/connections        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ fusectl     โ”‚ fusectl     โ”‚
โ”‚ /sys/fs/pstore                  โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ pstore      โ”‚ pstore      โ”‚
โ”‚ /sys/kernel/config              โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ configfs    โ”‚ configfs    โ”‚
โ”‚ /sys/kernel/debug               โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ debugfs     โ”‚ debugfs     โ”‚
โ”‚ /sys/kernel/security            โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ securityfs  โ”‚ securityfs  โ”‚
โ”‚ /sys/kernel/tracing             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ tracefs     โ”‚ tracefs     โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

So here we see that we have information about all kinds of mounted devices on our system which most of us probably don’t really care about. Still, its a nice-to-have kind of thing!

Checking Inodes

Wait… What are inodes in Linux? Inodes in the filesystem is where the metadata of the actual data is stored, but not the actual data. You can think of it as a database that indexes information about data, while the data is actually stored somewhere else. You index the database and know where to find the data, kind of like a map!

So how do we check for inodes? Well, simply by using the -inodes switch!

linuxman@ubuntu:~$ duf -inodes
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 4 local devices                                                                             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚  INODES โ”‚  IUSED โ”‚  IAVAIL โ”‚             IUSE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /          โ”‚ 1277952 โ”‚ 176606 โ”‚ 1101346 โ”‚ [##..................]  13.8% โ”‚ ext4 โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi  โ”‚       0 โ”‚      0 โ”‚       0 โ”‚                               โ”‚ vfat โ”‚ /dev/vda1  โ”‚
โ”‚ /mnt/a     โ”‚  327680 โ”‚     11 โ”‚  327669 โ”‚ [....................]   0.0% โ”‚ ext4 โ”‚ /dev/vdb1  โ”‚
โ”‚ /mnt/b     โ”‚  327680 โ”‚     11 โ”‚  327669 โ”‚ [....................]   0.0% โ”‚ ext4 โ”‚ /dev/vdc1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 7 special devices                                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON     โ”‚ INODES โ”‚ IUSED โ”‚ IAVAIL โ”‚             IUSE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev           โ”‚ 493578 โ”‚   475 โ”‚ 493103 โ”‚ [....................]   0.1% โ”‚ devtmpfs โ”‚ udev       โ”‚
โ”‚ /dev/shm       โ”‚ 502549 โ”‚     1 โ”‚ 502548 โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run           โ”‚ 502549 โ”‚   846 โ”‚ 501703 โ”‚ [....................]   0.2% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/lock      โ”‚ 502549 โ”‚     5 โ”‚ 502544 โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1000 โ”‚ 502549 โ”‚    39 โ”‚ 502510 โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1001 โ”‚ 502549 โ”‚    78 โ”‚ 502471 โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /sys/fs/cgroup โ”‚ 502549 โ”‚    19 โ”‚ 502530 โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Now, as interesting as inodes are, we won’t be discussing them in detail here. However, from the output we can see our total available, used and remaining inodes on each mount/filesystem.

Filtering with DUF

Only Switches

What if you want to see only a certain type of device? Perhaps all of your snap mounts? We can do this using the switches -only, -only-mp, -only-fs. Lets first display only local devices.

linuxman@ubuntu:~$ duf -only local
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 4 local devices                                                                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /          โ”‚  19.1G โ”‚  6.9G โ”‚  11.1G โ”‚ [#######.............]  36.4% โ”‚ ext4 โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi  โ”‚ 511.0M โ”‚  4.0K โ”‚ 511.0M โ”‚ [....................]   0.0% โ”‚ vfat โ”‚ /dev/vda1  โ”‚
โ”‚ /mnt/a     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdb1  โ”‚
โ”‚ /mnt/b     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdc1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

If we compare this to the default output, we see that only our local devices are displayed as expected.

Now let’s try filtering only mount points with a wildcard to list our snap mounts.

linuxman@ubuntu:~$ duf --all -only-mp '/snap/*'
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 10 local devices                                                                                               โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON                   โ”‚   SIZE โ”‚   USED โ”‚ AVAIL โ”‚              USE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /snap/bare/5                 โ”‚ 128.0K โ”‚ 128.0K โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop0 โ”‚
โ”‚ /snap/core20/1328            โ”‚  62.0M โ”‚  62.0M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop1 โ”‚
โ”‚ /snap/core20/1518            โ”‚  62.0M โ”‚  62.0M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop3 โ”‚
โ”‚ /snap/gnome-3-38-2004/106    โ”‚ 254.1M โ”‚ 254.1M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop2 โ”‚
โ”‚ /snap/gnome-3-38-2004/99     โ”‚ 248.9M โ”‚ 248.9M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop4 โ”‚
โ”‚ /snap/gtk-common-themes/1519 โ”‚  65.2M โ”‚  65.2M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop5 โ”‚
โ”‚ /snap/gtk-common-themes/1534 โ”‚  81.4M โ”‚  81.4M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop6 โ”‚
โ”‚ /snap/snap-store/558         โ”‚  54.2M โ”‚  54.2M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop8 โ”‚
โ”‚ /snap/snapd/14978            โ”‚  43.6M โ”‚  43.6M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop9 โ”‚
โ”‚ /snap/snapd/16010            โ”‚  47.0M โ”‚  47.0M โ”‚    0B โ”‚ [####################] 100.0% โ”‚ squashfs โ”‚ /dev/loop7 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Notice that here we also specified the --all switch before filtering the mount point. This is because by default, duf will filter the default output. So if your target mount point/filesystem only appears when using the –all switch, then you have to specify that first.

Finally let’s display only a certain filesystem type, so we’re going to test this out with tmpfs.

linuxman@ubuntu:~$ duf -only-fs tmpfs
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 6 special devices                                                                             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON     โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE  โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev/shm       โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs โ”‚ tmpfs      โ”‚
โ”‚ /run           โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs โ”‚ tmpfs      โ”‚
โ”‚ /run/lock      โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1000 โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1001 โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs โ”‚ tmpfs      โ”‚
โ”‚ /sys/fs/cgroup โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs โ”‚ tmpfs      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Hide Switches

Omar, I want to see everything except certain mounts/filesystems… what do? Well you’re in luck because duf can do that too! duf has -hide, -hide-mp, and -hide-fs. So let’s first hide local devices from the output.

linuxman@ubuntu:~$ duf -hide local
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 7 special devices                                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON     โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev           โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ devtmpfs โ”‚ udev       โ”‚
โ”‚ /dev/shm       โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run           โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/lock      โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1000 โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1001 โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /sys/fs/cgroup โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

See? Now we only receive our special devices and left out local, as expected.

Now lets hide all of our snap mounts because no one cares.

linuxman@ubuntu:~$ duf --all -hide-mp '/snap/*'
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 4 local devices                                                                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /          โ”‚  19.1G โ”‚  6.9G โ”‚  11.1G โ”‚ [#######.............]  36.4% โ”‚ ext4 โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi  โ”‚ 511.0M โ”‚  4.0K โ”‚ 511.0M โ”‚ [....................]   0.0% โ”‚ vfat โ”‚ /dev/vda1  โ”‚
โ”‚ /mnt/a     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdb1  โ”‚
โ”‚ /mnt/b     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdc1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 1 fuse device                                                                   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON          โ”‚ SIZE โ”‚ USED โ”‚ AVAIL โ”‚ USE% โ”‚ TYPE            โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /run/user/1000/gvfs โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ fuse.gvfsd-fuse โ”‚ gvfsd-fuse โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 35 special devices                                                                                                    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON                      โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE        โ”‚ FILESYSTEM  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev                            โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ devtmpfs    โ”‚ udev        โ”‚
โ”‚ /dev/hugepages                  โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ hugetlbfs   โ”‚ hugetlbfs   โ”‚
โ”‚ /dev/mqueue                     โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ mqueue      โ”‚ mqueue      โ”‚
โ”‚ /dev/pts                        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ devpts      โ”‚ devpts      โ”‚
โ”‚ /dev/shm                        โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /proc                           โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ proc        โ”‚ proc        โ”‚
โ”‚ /proc/sys/fs/binfmt_misc        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ autofs      โ”‚ systemd-1   โ”‚
โ”‚ /proc/sys/fs/binfmt_misc        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ binfmt_misc โ”‚ binfmt_misc โ”‚
โ”‚ /run                            โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /run/lock                       โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /run/user/1000                  โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /run/user/1001                  โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /sys                            โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ sysfs       โ”‚ sysfs       โ”‚
โ”‚ /sys/fs/bpf                     โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ bpf         โ”‚ none        โ”‚
โ”‚ /sys/fs/cgroup                  โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs       โ”‚ tmpfs       โ”‚
โ”‚ /sys/fs/cgroup/blkio            โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/cpu,cpuacct      โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/cpuset           โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/devices          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/freezer          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/hugetlb          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/memory           โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/misc             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/net_cls,net_prio โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/perf_event       โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/pids             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/rdma             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/systemd          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup      โ”‚ cgroup      โ”‚
โ”‚ /sys/fs/cgroup/unified          โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ cgroup2     โ”‚ cgroup2     โ”‚
โ”‚ /sys/fs/fuse/connections        โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ fusectl     โ”‚ fusectl     โ”‚
โ”‚ /sys/fs/pstore                  โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ pstore      โ”‚ pstore      โ”‚
โ”‚ /sys/kernel/config              โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ configfs    โ”‚ configfs    โ”‚
โ”‚ /sys/kernel/debug               โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ debugfs     โ”‚ debugfs     โ”‚
โ”‚ /sys/kernel/security            โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ securityfs  โ”‚ securityfs  โ”‚
โ”‚ /sys/kernel/tracing             โ”‚     0B โ”‚    0B โ”‚     0B โ”‚                               โ”‚ tracefs     โ”‚ tracefs     โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

And just like that, snap is nowhere to be found, yay! Just like before, we have to specify --all in order for it to be hidden from the output.

And finally we will hide all of our cgroup mounts from all output. Wait, wait, wait… I also don’t want to see any squashfs and tmpfs… So I’m going to specify multiple filesystems I don’t care about.

linuxman@ubuntu:~$ duf --all -hide-fs cgroup,tmpfs,squashfs
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 4 local devices                                                                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /          โ”‚  19.1G โ”‚  6.9G โ”‚  11.1G โ”‚ [#######.............]  36.4% โ”‚ ext4 โ”‚ /dev/vda5  โ”‚
โ”‚ /boot/efi  โ”‚ 511.0M โ”‚  4.0K โ”‚ 511.0M โ”‚ [....................]   0.0% โ”‚ vfat โ”‚ /dev/vda1  โ”‚
โ”‚ /mnt/a     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdb1  โ”‚
โ”‚ /mnt/b     โ”‚   4.9G โ”‚ 20.0M โ”‚   4.6G โ”‚ [....................]   0.4% โ”‚ ext4 โ”‚ /dev/vdc1  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 1 fuse device                                                                   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON          โ”‚ SIZE โ”‚ USED โ”‚ AVAIL โ”‚ USE% โ”‚ TYPE            โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /run/user/1000/gvfs โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ fuse.gvfsd-fuse โ”‚ gvfsd-fuse โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 16 special devices                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON               โ”‚ SIZE โ”‚ USED โ”‚ AVAIL โ”‚ USE% โ”‚ TYPE        โ”‚ FILESYSTEM  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /dev                     โ”‚ 1.9G โ”‚   0B โ”‚  1.9G โ”‚      โ”‚ devtmpfs    โ”‚ udev        โ”‚
โ”‚ /dev/hugepages           โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ hugetlbfs   โ”‚ hugetlbfs   โ”‚
โ”‚ /dev/mqueue              โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ mqueue      โ”‚ mqueue      โ”‚
โ”‚ /dev/pts                 โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ devpts      โ”‚ devpts      โ”‚
โ”‚ /proc                    โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ proc        โ”‚ proc        โ”‚
โ”‚ /proc/sys/fs/binfmt_misc โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ autofs      โ”‚ systemd-1   โ”‚
โ”‚ /proc/sys/fs/binfmt_misc โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ binfmt_misc โ”‚ binfmt_misc โ”‚
โ”‚ /sys                     โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ sysfs       โ”‚ sysfs       โ”‚
โ”‚ /sys/fs/bpf              โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ bpf         โ”‚ none        โ”‚
โ”‚ /sys/fs/cgroup/unified   โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ cgroup2     โ”‚ cgroup2     โ”‚
โ”‚ /sys/fs/fuse/connections โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ fusectl     โ”‚ fusectl     โ”‚
โ”‚ /sys/fs/pstore           โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ pstore      โ”‚ pstore      โ”‚
โ”‚ /sys/kernel/config       โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ configfs    โ”‚ configfs    โ”‚
โ”‚ /sys/kernel/debug        โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ debugfs     โ”‚ debugfs     โ”‚
โ”‚ /sys/kernel/security     โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ securityfs  โ”‚ securityfs  โ”‚
โ”‚ /sys/kernel/tracing      โ”‚   0B โ”‚   0B โ”‚    0B โ”‚      โ”‚ tracefs     โ”‚ tracefs     โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

That’s more like it! You can indeed pass multiple device types, mount points and filesystems to hide/show in comma separated form.

Sorting DUF Output

I shall leave you off with one more useful trick duf provides and that is being able to sort the output based on certain conditions. Granted you are not able to create your own conditions using regex or something special like you can with awk or ps. But since disk usage is our only concern when using duf, it does it well enough!

You can use the -sort switch to re-order the output based on mountpoint, size, used, avail, usage, inodes and other different options. For our example, let’s say we want to sort our special devices based on availability.

linuxman@ubuntu:~$ duf -only special -sort avail
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 7 special devices                                                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON     โ”‚   SIZE โ”‚  USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE     โ”‚ FILESYSTEM โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /run/lock      โ”‚   5.0M โ”‚  4.0K โ”‚   5.0M โ”‚ [....................]   0.1% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run           โ”‚ 392.6M โ”‚  1.4M โ”‚ 391.2M โ”‚ [....................]   0.4% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1001 โ”‚ 392.6M โ”‚ 20.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /run/user/1000 โ”‚ 392.6M โ”‚  8.0K โ”‚ 392.6M โ”‚ [....................]   0.0% โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /dev           โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ devtmpfs โ”‚ udev       โ”‚
โ”‚ /dev/shm       โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ”‚ /sys/fs/cgroup โ”‚   1.9G โ”‚    0B โ”‚   1.9G โ”‚                               โ”‚ tmpfs    โ”‚ tmpfs      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

There are a couple more nice switches to use from our beloved duf, but we’re here to keep it simple and point out the most useful! Check out their Github page which has more info on the command or if you want to just poke around, sneak in there the --help switch and figure it out ๐Ÿ˜‰

Leave a Reply