http://devstudioonline.com/article/get-directory-sizes-in-ubuntu WebJan 31, 2024 · Step 1. Open a Terminal Session If you're using an Ubuntu laptop or desktop, you can press Ctrl + Alt + T on your keyboard to open a new terminal window. If …
Disk usage on Ubuntu - Find the largest Sized …
WebJan 9, 2024 · Use the duf command to check disk space in Ubuntu The duf utility is an enhanced version of the du and df utility combined together as it can be used to check … WebFeb 4, 2024 · I've found that using -B 1 or -B any-number gives an inaccurate folder size in KB that's 2x bigger than expected. A more accurate way is to use -k , which uses 1024 … goonies shipwreck
How to display files sizes in MB in Linux/Ubuntu - net2
WebApr 4, 2024 · Get directory sizes in Ubuntu In the Linux file system to get the size of a directory, you need to calculate and sum all file size of that directory. The command du is used for summarizing disk usage of each file, recursively for directories. Get the size of a directory: du -hs /path/to/directory WebNov 11, 2010 · This is working great on Ubuntu 16.04 LTS in August 2024. – SDsolar Aug 17, 2024 at 8:34 Add a comment 10 Answers Sorted by: 69 Try: du --max-depth=7 /* sort -n - it won't just tell you directories, and there will be duplicates, but it will list everything 7 levels deep and sort them by size order. Share Improve this answer Follow WebApr 4, 2024 · In the Linux file system to get the size of a directory, you need to calculate and sum all file size of that directory. The command du is used for summarizing disk … goonies sloth face mask