I need to modify the PATH environment using a script. My script is:
--begin-- #!bin/sh export PATH=$PATH:/mydir --end--
If I run the export command in command line I have no problem, but when I run my script, and I run
echo $PATH
I can see that the path environtment variable isn't changed.
What can be the problem? I'm root user when I run the script.
Thanks
-- Samuel Díaz García Director Gerente ArcosCom Wireless, S.L.L.
mailto:samueldg@xxxxxxxxxxxx http://www.arcoscom.com móvil: 651 93 72 48 tlfn/fax: 956 70 13 15