在Linux操作系统,“/bin/bash”是默认登录shell,是在创建用户时分配的。使用chsh命令可以改变默认的shell。示例如下所示:
#chsh <username> -s <new_default_shell> chsh linuxtchi -s /bin/sh