linux命令网

当前位置:linux命令 > linux常用命令

source命令 – 从指定文件中读取和执行命令

source命令的功能是用于从指定文件中读取和执行命令,通常用于被修改过的文件,使之新参数能够立即生效,而不必重启整台服务器。

语法格式:source [文件]

参考实例

读取和执行指定文件中的命令:

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

标签读取 指定 执行 文件 source


相关linux命令
苏ICP备2022026517号-3  |   苏公网安备 32081202000317号
淮安先皓网络科技有限公司 © 版权所有  联系我们