[External] : Re: configure shell game
Jan Pechanec
Jan.Pechanec at oracle.com
Wed Jun 3 01:16:55 AEST 2026
On Tue, Jun 02, 2026 at 11:47:56PM +1000, Darren Tucker via openssh-unix-dev wrote:
> On Tue, 2 Jun 2026 at 23:35, Predrag Zečević
> <predrag.zecevic.1961 at googlemail.com> wrote:
> > Well, linux is OS which changed /bin/sh to be /bin/bash
>
> That isn't even true for all Linux variants. On at least Debian and
> derivatives including Ubuntu, it's usually dash not bash:
>
> $ uname -a
> Linux ajax 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May
> 5 19:26:24 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
> $ ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Mar 31 2024 /bin/sh -> dash
And it happened a very long time ago. Ubuntu started using dash as
/bin/sh in 2006 and Debian followed in 2011.
--
Jan Pechanec <jan.pechanec at oracle.com>
More information about the openssh-unix-dev
mailing list