远程执行shell脚本没法读取环境变量

在脚本#!/bin/sh下中加入. /etc/profile便可web #!/bin/sh . /etc/profile echo "cn.kawins 2018-6-8" set -e 至于为何请点击这里查看bash
相关文章
相关标签/搜索