dash
1.0、参考
1.1、dash简介
short for:Debian GNU/Linux ash
是什么 ?:a POSIX-compliant implementation of /bin/sh that aims to be as small as possible.
开发语言:C
官方主页:http://gondor.apana.org.au/~herbert/dash
源码仓库:https://git.kernel.org/pub/scm/utils/dash/dash.git
1.2、通过包管理器安装dash
操作系统包管理器安装命令
macOSHomeBrewbrew install dash
GNU/LinuxHomeBrewbrew install dash
aptsudo apt-get install -y dash
CentOSyumsudo yum install -y dash
dnfsudo dnf install -y dash
openSUSEzyppersudo zypper install -y dash
Alpine Linuxapksudo apk add dash

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm dash
Gentoo LinuxPortagesudo emerge app-shells/dash
1.3、通过编译源码安装dash
1.4、配置dash
级别配置文件路径
系统级/etc/profile
用户级~/.profile
1.5、切换默认Shell

使用chsh命令将默认的Shell切换到dash

chsh -s $(command -v dash)