Topic :linux command to check which file or folder consuming more disk space.
Most of the time we will face the disk space outage , but not sure which folder or file consuming huge space in the linux,
Particular for those who using asterisk or vicidial ,in which recording folder consumes more space but the log files also consumes more space.
Below is the command which outputs the top 10 files or folder which consumes more load in the linux based machines.
command
Linux# du -a / | sort -n -r | head -n 10
Note: rm -rf is the command to delete the file in linux
Related Topics: