How to determine the highest Disk Space consuming folder via SSH(PuTTy)? [EASY GUIDE]☑️
Today in this tutorial you will learn how to determine the size of all folders at any path recursively. This guide will help you to determine where your account is using the most disk space. But before getting started let us quick watch this video on how to determine the highest disk space consuming folder via SSH (PuTTy).
Follow the steps given below to calculate the size of all folders at any path recursively via SSH:
Step::1 Login to PuTTy as a root.
Step::2 Run the command given below:
du -h /path/to/directory -d 1
Soon after running this command, you will be able to list all files along with their disk usage.