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

/bin/sh != /bin/bash ? [was Re: zsh vs bash]

> I set my system shell to zsh as well, and replaced all the /bin/bash in
> /etc/passwd to /usr/bin/zsh, but when I tried to move /bin/sh to point to
> /usr/bin/zsh, all of the /etc/init.d/* scripts blew up.

If those scripts actually require bash then why isn't the first line
#!/bin/bash? Is this a bug, or is it written in stone that /bin/sh and
/bin/bash are equivalent?

Reply to: