Example Bourne or Korn script to define and export variables
The following Bourne\Korn script defines and exports several variables:
HOME=X:
PATROL_HOME=$HOME/patrol
PATROL_CFG=$PATROL_HOME/config
PATROL_CACHE=$HOME/patrol
export HOME
export PATROL_HOME
export PATROL_CFG
export PATROL_CACHE
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.