[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 25: Variables

Page 25

  
  Variables
  Environment variables
  Available to this shell process and any child processes
  Examples include $HOME, $MAIL, $PATH, $DISPLAY
  Export the variable using 'export'
            ~/build$ set | grep bld
            bld=/home/george/build
            ~/build$ /usr/bin/env | grep bld
            ~/build$ export bld
            ~/build$ /usr/bin/env | grep bld
            bld=/home/george/build

Copyright 2005, Bri Hatch of Onsight, Inc.

Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2005

Presentation created using vim and MagicPoint.