SOURCE(1)

NAME

source - read and execute commands from a file in the current shell environment.

SYNOPSIS

source file

DESCRIPTION

source reads and executes commands from file in the current shell environment. It is a compatibility alias for the POSIX . builtin.

EXIT STATUS

The status of the sourced script, or two when the file operand is missing. Passing additional source arguments is not implemented yet and is reported as a usage error.

SEE ALSO

rush-builtins(7).