Posts Tagged ‘Linux’

*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.

Unix/Linux: Follow That File

Wednesday, August 26th, 2009

In Linux/Unix command line you can follow a file with tail -f [filename]. As the file is updated, the screen will update. This is handy for following error logs, etc.

I just learned from a co-worker that the ‘less’ command can do the same thing if you hit shift-F while viewing a file. Apparently less does a lot more than I thought! I think point and click interface is making me soft, I need to ‘man’ up and RTFM on some command line goodies.


$man less

Alcon Debugger for Flex/AIR/Flash

Sunday, June 28th, 2009

Alcon is an AS2/AS3 debugger written in Adobe AIR.  It doesn’t care what editor, compiler, or OS you are using (yay! a Linux AS3 debugger!).  Bryan from Intuitive Media (check muh blog roll) turned me on to it.  FlexBuilder can go do it’s thing in Windows/Mac land and I’ll keep doing my thing over here with Linux power!  Thanks Hexagon Star!

http://blog.hexagonstar.com/alcon/