Shell Variables and the Environment

The shell has different types of variables: user-defined variables and environment (or predefined) variables. As the name suggests, users create the user-defined variables. Solaris uses environmental variables that determine the work environment of a user. These variables are assigned default values in the system-wide initialization files. If users want to customize their environments, then they can configure these variables according to their preferences. The environment variables have some variables, which are pre-defined, such as HOME, PATH, and so forth. Only the particular shell in which you are working recognizes the environment variables.

The following list explains some standard shell environment variables ...

Get Special Edition Using® Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.