运行含有source命令的Shell脚本时,source: not found错误。
Shell的解释器不是bash,需把Shell的解释器更改为bash
分别执行下列指令即可
ls -l /bin/sh
sudo dpkg-reconfigure dash
ls -l /bin/sh
运行含有source命令的Shell脚本时,source: not found错误。
Shell的解释器不是bash,需把Shell的解释器更改为bash
分别执行下列指令即可
ls -l /bin/sh
sudo dpkg-reconfigure dash
ls -l /bin/sh