I have a file named new.sh which has executable permission, contents of the file is
./new.sh will give the PID of the shell in which new.sh executes....
. new.sh will be executed in current shell so it displays PID of current shell
But if i execute following on command prompt
First will display current shell's PID, its fine
Why second command will displays current shell's PID eventhough it executes in subshell ????