If you’re using Ubuntu, you can check your disk usage by running the following command: sudo dm-stat -l This will show you the disk usage of your Ubuntu installation.
Go ahead, just type the command in your home directory:
It shows you a very verbose output by default, which isn’t always extremely useful. Thankfully it also includes a lot of extra options.
To find the total size of files and folders in our current directory, listed by MB:
Now we are getting somewhere. That’s some pretty useful output.