On 10 Feb 2003, Joe Klemmer wrote: > On Mon, 2003-02-10 at 17:36, Jerry Roy wrote: > > > How do I permanently set an environment variable so it works across > > reboots? I have the command down, just don't know which is the correct > > file (.bashrc? .profile?) to place it in. Someone said there is a > > "Better" way. Please offer suggestions on writing the command. > > > > set $ICAClient:/test/icadir > > export $ICAClient > > If you only need this for your login put it in $HOME/.bash_profile. > But if it's needed by the system for every login you should put it in > /etc/profile. or, if it's needed system wide, a cleaner way is to group related startup stuff and put it in an appropriately named file -- ICA.sh? -- in the /etc/profile.d directory, which is sourced at login time for all files ending in *sh. this keeps /etc/profile clean, and makes it easy to remove and replace local stuff like that. rday -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list