On Wednesday 31 August 2005 06:57, Chetan S wrote:
execute it with ./
subshell. Not all changes in subshell reflect to parent shell. Try referring Advanced Bash Scripting guide for more answers.
IMHO, #!/bin/bash doesn't mean that the script will run in a sub shell. It just tells the shell which interpreter to use while executing the script.