If you want to see how is your disk being used, you can use
du -s * | sort -k 1 -rn
If you want to see hidden files,
du -s .* | sort -k 1 -rn
Unfortunately, I couldn't combine both of them and also couldn't use -h option of du
If you want to see size of different partition, you can also use
df -h
No comments:
Post a Comment