du -sh ./* | sort -h
-s
Gives only the total of each element-h
Human readable values./*
all element in your current location (you can change that part for a specific locationsort -h
Sort the element by size (bottom = largest)
du -sh ./* | sort -h
-s
Gives only the total of each element-h
Human readable values./*
all element in your current location (you can change that part for a specific locationsort -h
Sort the element by size (bottom = largest)