Skip to content

check present shell on Linux

Linux查看当前shell

环境变量

echo $SHELL

env查找

eng |grep SHELL

$0

echo $0

ps查看

ps |grep $$