2009/12/29 Shakthi Kannan <[email protected]> > > Try: > > $ source your-script.sh >
Yes, that works, but thats as bad as typing a cd command everytime. I want to run a short command like "pc" (for project change :) ) by copying it to /sbin 2009/12/29 Abishek Goda <[email protected]> > > Well, I think it should not change the directory of the calling > terminal, but within the script the directory will change. Try echoing > $PWD after the cd command. > > Yes, i know that. But i want a solution wherein the pwd of parent process changes -- Thanks & Regards Varrun Ramani Amrita University '10 Web: varrunr.wordpress.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
