Customize Mac Snow Leopard 10.6

Terminal and tabs

Find the Terminal app in Applications -> Utilities -> Terminal. Click on the Terminal icon to start. 

To change the terminal settings, open Terminal Preferences. You can change the Terminal title from the "Settings" -> "Window" tab in each theme.

To start new tabs, press Cmd - T. To cycle through terminal tabs, the keyboard shortcuts is Cmd - Shift - Left and Right.

Bash shell

If you want to customize your prompt and title, add your code into $HOME/.bashrc, then add the following into your $HOME/.bash_profile:

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc 
fi

System settings

Hostname

To change the hostname, do this:

$ sudo scutil --set HostName your-new-hostname

Network interfaces

To change the primary network interface, say, you want the wireless be the primary network interface, go to "System Preferences" -> Network. Below the list of network services, there is a option icon that you can open. Click on that icon, and select "Set service order". Then just drag and move the service to change the order. When you are done, click the "Apply" button.

Restart the network

In case you need to restart the network, do:

#  SystemStarter restart Network 

Input methods in other languages

Open "System Preferences" -> "Language & Text" -> "Input Sources", click the check boxes next to the input method you want. 

As soon as least one item is checked in the Input Menu pane, the Input menu appears as an international symbol at the right side of the menu bar.

Open the application that you want to use.

Click the Input menu (international symbol) and choose the keyboard layout or input method you want to use. Then start typing.

NFS mount

To mount to an NFS folder, create the file /etc/fstab, and add the following:

nfs-server:/full-path-to-exported-folder     /mnt/nfs     nfs      -P        0 0

Then create the local mount point:

# mkdir -p /mnt/nfs

Now you should be able to mount:

# mount /mnt/nfs

The uid of the local user must have the same value as the uid that own the NFS folder in remote server.

Utilities

Securities