Re: Start a daemon, show a syntax error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux