Mike gave me some crib notes on unix:
df -h
reports file system disk space usage
du -h
shows disk usage by directory
-h is human readable
du -h --max-depth=1
summarizes all the du under a dir at a certain depth. this takes a long time at root level, so you wouldn't do it there
cat /proc/cpuinfo (no /proc dir on a Mac)
summarizes the cpu info for the machine
/bin is scripts and things
/etc is configs & default settings
/dev is devices
/lib is header files for c libraries and such
/var/log is usually where logs are
/usr/local for installing new software (many install scripts look for /usr/local)
/var/lib is another place software may be installed
also:
sudo su
allows you to emulate root
Wednesday, March 9, 2011
Subscribe to:
Posts (Atom)