📌  相关文章
📜  如何知道为 linux 指定了哪个 shell - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:30.300000             🧑  作者: Mango

代码示例1
ps -p $$ – Display your current shell name reliably.
echo "$SHELL" – Print the shell for the current user but not necessarily the shell that is running at the movement.