shell sh: 1: source: not found

问题:shell脚本里加source命令报错 sh: 1: source: not found
解决:
$ls -l which sh
/bin/sh -> dash

$sudo dpkg-reconfigure dash #Select “no” when you’re asked
[…]

$ls -l which sh
/bin/sh -> bash

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章