Cmd Generator

source

在当前 Shell 中执行文件中的命令。

source

示例

# 加载配置
source ~/.bashrc

# 指定路径
source /path/to/script.sh

# 缩写形式
. ~/.profile

Sponsors