Daily Archives: April 22, 2013

Environment variable in bash or tcsh

The syntax for setting an environment variable under UNIX/Linux depend on the shell that you are using. The syntax for bash/sh shell is export <variable name> = <variable name>:<new value1>:<new value2> For tcsh/csh shell set <variable name> = (<variable name> <new value1> <new value2>) You can set the environment variable […]