How to return a command from child shell to parent? suppose i want to write a shell script for setting a directory for example in dos i will write a bat file with commands cd /home/kunal but in linux can i write a shell script to do the same if yes then tell me more about it. i have tried it but after execution of shell script it shows the same direcotry without any chanfg Kunal