You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

375 B

source

在当前Shell环境中从指定文件读取和执行命令命令返回退出状态

说明

source命令 在当前Shell环境中从指定文件读取和执行命令命令返回退出状态

选项

source [文件名] [参数]

例子

读取和执行/root/.bash_profile文件

[root@localhost ~]# source ~/.bash_profile