問題: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
問題: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