TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:1769] environment variables
if you are under bash use:
ENVVAR=whatever ; export ENVVAR
csh use:
setenv ENVVAR whatever
echo $PATH
to display it or just type set under bash that lists all environment
variables.
if you want to set some env-variables whenever you log in put them in your
.bash_profile or your .login
Jeff
On Wed, 14 Oct 1998, Tim Wilson wrote:
> Hi everyone,
>
> It's time for the simple question of the day... (drums roll..a hush falls
> over the crowd)
>
> Where can I find a primer on the use and abuse of environment variables? I
> understand what they are, but I haven't been able to find an information
> about how to display the value of a given variable (e.g., $PATH) or how to
> modify it. Specifically, I need to add a directory to my path, but I'm not
> sure how to accomplish it.
>
> Thanks for any advice,
> Tim
>
> --
> Timothy D. Wilson "A little song, a little dance,
> University of MN, chem. dept. a little seltzer down your
> wilson@chem.umn.edu pants." -Chuckles the Clown
> Phone: (612) 625-9828 as eulogized by Ted Baxter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
>