Posts Tagged ‘Unix’

*nix and the /usr directory

Thursday, January 7th, 2010

/usr is short for “User”, right? How come it doesn’t have user related stuff in it?

I’ve wondered this for a long time. Today I discovered while searching for some unrelated information that it in fact stands for “Unix System Resources”.

Next they’ll tell me that /etc doesn’t stand for “Eggs Toast and Coffee”. Sheesh!

Unix/Linux Find Size of Files in a Directory

Thursday, December 10th, 2009

Wait… before I try to copy this directory recursively, how big is it?

du -sk /path/to/directory

-s : Display only a total for each argument
-k : Display size in KB

Oh dear. I’m going to need a bigger disk.