linux shell查询

查看当前版本可用的shell

cat /etc/shells

查看当前使用的shell

echo $0

查看当前用户默认使用的shell

echo $SHELL

原文地址:https://www.cnblogs.com/zxpo/p/3777994.html