TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash and variables



I use bash and I'd like to use a variable to be used in a few different
programs. I can't the variable to be defined on different tty's.

If I run 

something=test

echo $something 

prints test only on the tty that I ran something=test. 

I've tried the export command in a script file, but that doesn't work
either. I'm sure there is a easy command I need to do a global export, I
just don't know what it is.

Thanks,

Ben




Ben Luey
lueyb@carleton.edu
ICQ: 19144397