Can I change to another directory from a ksh/perl script, and then exit the script so my current directory will be the changed one?
I tried it with no success yet. I think it's because the script is changed the directory indeed, but inside an internal shell, so when it terminates the script it returns to the original directory.
Am I right? Is there any solution for it?
Thanks in advance,
tg.
I tried it with no success yet. I think it's because the script is changed the directory indeed, but inside an internal shell, so when it terminates the script it returns to the original directory.
Am I right? Is there any solution for it?
Thanks in advance,
tg.