20 Mar
2012
20 Mar
'12
10:33 a.m.
2012/3/20 郑文辉(Techlive Zheng) <techlivezheng@gmail.com>:
But 'ls -l /bin/sh', shows that sh is a symlink to bash, but why it behaves so differently?
lrwxrwxrwx 1 root root 4 2011-11-23 14:08 /bin/sh -> bash
When called as "/bin/sh", bash works in compatibility mode. Initscripts only support bash being called as "bash". To find out more, Google is your friend :-) -t