Hi group,
This is another case of "I should know this", but I can;t remember/
How do I write a bash script that will CD to a directory and stay there when the script ends?
I have tried:
. cd xxzzy
source cd xxzzy
bash -e cd xxzzy
I always get 'cd: No such file or directory' and it does exist.
If I make the command an alias, it works fine.
Any ideas??