查看当前版本可用的shell cat /etc/shells 查看当前使用的shell echo $0 查看当前用户默认使用的shell echo $SHELL 转载于:https://www.cnblogs.com/zxpo/p/3777994.html