UHCL Banner

The Unix Path

How do I find out my PATH?

At the command prompt, enter:

%echo $PATH

How do I add a new path to the PATH variable?

Edit or create (if does not exist) .profile file in your home directory as follows:

% vi .profile

Add the following commands to the .profile file

PATH=$PATH: the name of the path that you wish to add
export PATH

Save .profile file as follows:

wq!