作者:书友73892718 | 来源:互联网 | 2023-05-19 17:47
Whatisthe*nixcommandtoviewausersdefaultloginshell?查看用户默认登录shell的*nix命令是什么?Icanchang
What is the *nix command to view a user's default login shell?
查看用户默认登录shell的*nix命令是什么?
I can change the default login shell with chsh
, but I don't know how to get what is the user's default shell.
我可以用chsh更改默认的登录shell,但是我不知道如何获得用户的默认shell。
Pseudocode
伪代码
$ get-shell
/usr/bin/zsh
4 个解决方案