Why does bash behave differently, when it is called as sh?

后端 未结 3 1953
名媛妹妹
名媛妹妹 2021-01-16 17:55

I have an ubuntu machine with default shell set to bash and both ways to the binary in $PATH:

$ which bash
/bin/bash
$ which sh
/bin/sh
$ ll /bin/sh
lrwxrwxr         


        
3条回答
提交回复
热议问题