Handling shell variables

Handling shell variables

The shell has several variables which are automatically set whenever you login.

The values of some of these variables are stored in names which collectively are called you user environment.

Any name defined in the user environment, can be accessed from within a shell script. To include the value of a shell variable into the environment you must export it.


Top document