At times, I do find myself needing to find out the size of the folder in certain directory on my Linux server.

And the weirdest part is; I always forget this command combinations. I’m gonna put it here so that I will remember it.

Command: du -sh /home/fendy
Display: 1.2M /home/fendy

Command: du -h /home/fendy
Display: *List of directories in the folder and their size

I learned it.

tagged as