1.命令cat /etc/shells 

[tansheng@localhost ~]$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/tcsh
/bin/csh
[tansheng@localhost ~]$ 

2./bin/sh是最原始的shell,现在几乎所有的linux都把bash shell设为默认的shell,即使/bin/sh 也是链接至/bin/bash

[tansheng@localhost ~]$ ls -l /bin/sh
lrwxrwxrwx. 1 root root 4 10月 12 01:59 /bin/sh -> bash
[tansheng@localhost ~]$ 

 

相关文章:

  • 2022-12-23
  • 2021-07-19
  • 2021-10-31
  • 2022-01-01
  • 2021-10-25
  • 2021-12-28
  • 2022-02-03
猜你喜欢
  • 2021-10-12
  • 2021-09-24
  • 2022-01-16
  • 2022-12-23
  • 2021-09-11
相关资源
相似解决方案