Handy Linux Stuff

list all the processes listening on tcp ports:
netstat --inet --tcp -lp

How do I use UNIX commands to uncompress and unpack *.tgz files?
Rename the *.tgz files to *.tar.gz
Example: $ mv chicago.tgz chicago.tar.gz

Uncompress and unpack:
gzip -d < chicago.tar.gz | tar xvfm -

List symbols in an obj file or library:
nm libfb_comm.a | more

reconnect libraries:
/sbin/ldconfig

ldd {bin} display all the libs used by this binary executable

Make your computer accessible by name over the network:
Go to the /etc/dhclient.conf file and add/uncomment:
send host-name "{your computer name}.acfr.usyd.edu.au"