遠程執行shell腳本沒法讀取環境變量

在腳本#!/bin/sh下中加入. /etc/profile便可web #!/bin/sh . /etc/profile echo "cn.kawins 2018-6-8" set -e 至於爲何請點擊這裏查看bash
相關文章
相關標籤/搜索