Execute commands from a file in the current shell.

Synopsis

source FILENAME [ARGUMENTS]

. FILENAME [ARGUMENTS]

Description

Read and execute commands from FILENAME in the current shell environment. The file does not need execute permission. Also available as . (dot). Runs in the just-bash WASM shell inside SLICC.

Examples

$ source .env

Load environment variables from .env file.

$ . script.sh

Execute script in the current shell.

See Also

exec, eval