in reply to Bash Shell & Perl Library Path
or possiblyPERL5LIB=$PERL5LIB export PERL5LIB<new path>
If you want all users to inherit this setting, then add the above into /etc/profile.export PERL5LIB=$PERL5LIB
Note that the above will vary if you are unfortunate/misguided enough to use the C shell - if nothing else, the file to change will be $HOME/.login.
Note also that you should avoid using shell specific scripts e.g. .bashrc, .kshrc or even .cshrc to set login session environment variables - these should be used merely to modify the login shell environment on a per shell basis.
|
|---|