source
Execute commands from a file in the current shell. tldr-pages
On several platforms
Several platforms
Evaluate contents of a given file
source path/to/fileIdentifyEvaluate a file with arguments
source path/to/file argument1 argument2 ...IdentifySearch and evaluate a file from $PATH
source fileIdentifySearch and evaluate a file in a given set of directories
source -p path/to/directory1:path/to/directory2:... fileIdentifyEvaluate contents of a given file (alternatively replacing source with .)
. path/to/file