Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Shells: User's Guide: HP 9000 Computers > Chapter 16 Starting and Stopping the Shell

Setting Environment and Shell Variables

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Environment variables and shell variables (parameters) are set in the .profile and ENV files. (The ENV file is often, but not always, .kshrc.) These variables create part of the environment in which you work, such as your prompt string (PS1). Environment variables are shell parameters that are global and used by your shell to create a special environment for subshells and any commands you may invoke. This environment is active until you logoff. These global (or exported) environment variables can be seen and used by subshells and other subprocesses. Shell variables are shell parameters that are local to your login shell and not passed on to any subprocesses or subshells.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-1991 Hewlett-Packard Development Company, L.P.