far*_*oft 0 bash zsh shell chsh
是否有一个配置文件存储当前用户的默认 shell(bash、zsh 等)?
Ign*_*ams 5
用户使用的默认 shell包含在的第七个字段/etc/passwd或其等效项中。
/etc/passwd
$ getent passwd xxxxxx | awk -F: '{ print $7 }' /bin/bash
归档时间:
7 年,3 月 前
查看次数:
1525 次
最近记录: