Ubuntu Linux, like all unix varieties, includes the du command line utility. du stands for Disk Usage, as I’m sure you assumed.
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:
geek@ubuntu-desktop:~$ du -s -m *
Now we are getting somewhere. That’s some pretty useful output.
- › What Are the Best Nintendo Switch Games in 2022?
- › How Much Does It Cost to Operate an Electric Lawn Mower?
- › A World Without Wires: 25 Years of Wi-Fi
- › What’s New in Windows 11’s 22H2 Update: Top 10 New Features
- › NZXT Signal 4K30 Capture Card Review: Lossless High-Quality Footage
- › T-Mobile Is Selling Your App Activity: Here’s How to Opt Out