问题: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
一、幾個基本概念 tty(Teletypewriter) 來源於“電傳打印機”,Linux系統中則是終端設備的統稱,同時也代指操作系統中支持終端設備的tty子系統。 console(控制檯)