2012/3/20 郑文辉(Techlive Zheng) <techlivezheng@xxxxxxxxx>: > 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