2020年2月11日

shell source命令

摘要: 功能:在当前shell环境执行脚本,修改当前shell环境变量生效 sh test.sh会新建shell环境执行脚本,修改变量不会再当前shell环境生效 . test.sh/source test.sh会在当前环境执行,修改变量在当前shell生效 阅读全文

posted @ 2020-02-11 22:59 luckygxf 阅读(4955) 评论(0) 推荐(0) 编辑

导航