This is a popular introduction to Unix document I wrote a while ago. I have since kept updating it, and now it serves as a general and gentle introduction to Unix for a Mac user. I wrote this soon after I learned about Unix for the first time myself, so some of the writing seems rather quaint in retrospect; I hope people still find it useful, though. :-) Sections include Why Unix?; What's Darwin?; Basics of Darwin; Introduction to shells; Running system commands; Basic shell customization (see my article below for more info on customizing tcsh/zsh); Permissions; Running programs; What's NetInfo?; Basics of compiling; Process management; Introduction to text editors (thorough explanation of pico, vi, and emacs); and Introduction to X Windows. Currently at version 2.1.2. Warning: this document is nearly 10 years old now and was targeted at early versions of Mac OS X; some of the comments may no longer be valid.
MySQL is a popular database server, but sometimes I forget the syntax of some commands that I use a little less often, so I decided to make myself a cheat sheet of common commands.
This is a tutorial on how to customize your tcsh or zsh shell prompt using various formatting sequences and colors.