1.命令cat /etc/shells
[[email protected] ~]$ cat /etc/shells /bin/sh /bin/bash /sbin/nologin /bin/dash /bin/tcsh /bin/csh [[email protected] ~]$
2./bin/sh是最原始的shell,现在几乎所有的linux都把bash shell设为默认的shell,即使/bin/sh 也是链接至/bin/bash
[[email protected] ~]$ ls -l /bin/sh lrwxrwxrwx. 1 root root 4 10月 12 01:59 /bin/sh -> bash [[email protected] ~]$
时间: 2024-11-05 18:50:41