In Bash, enclosing commands in parentheses, as in (cd /tmp; pwd), runs them in the current shell, so the directory chan…