13 lines
316 B
Markdown
Raw Normal View History

# source
> 在当前 Shell 中执行来自文件的命令。
> 更多信息:<https://www.gnu.org/software/bash/manual/bash.html#index-source>。
- 执行指定文件中的内容:
`source {{路径/到/文件}}`
- 执行指定文件中的内容(也可以用`.`替代`source`
`. {{路径/到/文件}}`