Jump to content

Dot command .

From Squishu Wiki

General

  • The dot command executes the command in the current shell
    • .[space]./blah.sh
  • Usually when a script executes an external command or script, a new subshell with a new environment is created
  • If you use the dot command, the commands in the script are run in the same shell that called the script