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

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