Subshells

(cd somedir; echo "I'm now in $PWD")
pwd # still in first directory
Nicolas Chaillou