一、查看当前 shell 状态 $ echo $0 -zsh 二、查看当前系统有哪些shell $ cat /etc/shells # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/bash /bin/csh /bin/dash /bin/ksh /bin/sh /bin/tcsh /bin/zsh 三、切换 …