source
Execute commands from a file in the current shell. More information: https://www.gnu.org/software/bash/manual/bash.html#index-source.
- Evaluate contents of a given file:
source
- Evaluate a file with arguments:
source
- Search and evaluate a file from
$PATH:
source
- Search and evaluate a file in a given set of directories:
source -p
- Evaluate contents of a given file (alternatively replacing
sourcewith.):
.
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
