Configuring Your Unix Environment

Know which shell you are using

Know your Environment Variables


Shell configuration files:

Shell

Configuration files in your home directory
tcsh (Mac OS X default)

.tcshrc
bash

.bash_profile and .bashrc



Common Environment Variables:

Variable Name

Used For
PATH

List of directories the shell searches for commands.
MANPATH

List of directories yor shell will search for man pages.
SHELL

The full path of the current shell program.
HOME

Full path of your home directory.
USER

The short username (login name) of the user who owns the process.


Tasks:



Previous - Editing and Printing Files

Next - Working with File Permissions and Ownership

Home