there are two things u r talking right now:

To Set the Variable across the system for a single User:
Sol: Put that variable (var=value) in his ~/.bash_profile

To set the Variable across the system for ALL users:
Sol: Put that variable (var=value) in /etc/profile

vineet

First of all thanks to the answers on bash completion.

I frequently change an env variable (say CLASSPATH) on one terminal, i
then either have to keep changing it on other terminals, or logout and
login so it takes effect from bash_profile.

Now I cant keep logging in and out frequently - is there a way of
propogating a variable throughout the system.

(I once used zsh 4 years back, do i recollect that this is possible in
zsh).

Thanks in advance,

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to