To view free space on a Raspberry Pi, or on any distribution such as Ubuntu, Debian and so on, simply run the following command in the terminal:
df -h
once it has run, the terminal will display output similar to this:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 9.9G 6.7G 2.8G 72% /
udev 10M 0 10M 0% /dev
tmpfs 393M 40M 353M 11% /run
tmpfs 982M 0 982M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 982M 0 982M 0% /sys/fs/cgroup
tmpfs 197M 0 197M 0% /run/user/0
This will help you understand how much space is currently used and free on your device.
Enjoy!
