[svlug] Location of bash on different Linuxes
J C Lawrence
claw at kanga.nu
Thu Aug 17 19:13:01 PDT 2000
On Thu, 17 Aug 2000 12:34:33 -0700 (PDT)
Rafael <raffi at linwin.com> wrote:
> On Thu, 17 Aug 2000, J C Lawrence wrote:
>> Can bash be reliably found in /bin/bash in all Linux
>> distributions? Are there any Linux distributions where bash
>> cannot be found in /bin/bash?
> As far as I know /bin/sh is on all Unix systems. Linux has a link
> from /bin/bash to /bin/sh. If you write a script then #!/bin/sh
> should work in most (Unix) cases if not all of them.
True. However I'm specifically interested in Linux. The script I'm
writing will never execute on a non-Linux system (it deals with
Linux kernel modules) and I'd like to take advantage of a few
bash-specific extentions. Thus my interest in bash being in
/bin/bash on all Linux distributions.
> Shell has to be in root partition to have a usable system under
> emergency situation.
Right, but that can be anything from sh to ash or tcsh (eek!).
J C Lawrence Home: claw at kanga.nu
---------(*) Other: coder at kanga.nu
http://www.kanga.nu/~claw/ Keys etc: finger claw at kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--
More information about the svlug