[Top][All Lists]

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

Re: some profile bashrc urxvt issue..

From: Greg Wooledge
Subject: Re: some profile bashrc urxvt issue..
Date: Mon, 26 Jul 2021 15:06:39 -0400

On Mon, Jul 26, 2021 at 09:01:05PM +0200, Alex fxmbsw7 Ratchev wrote:
> so /etc/bash.bashrc is os hacks ?

It's a compile-time choice/patch for each vendor.  /etc/bash.bashrc is
the file that Debian chose.  Other Linux distributions use /etc/bashrc
or some other file instead.

> i debian yes but i rather rm -rf /bin/sh for cp /bin/bash /bin/sh but
> thats not the point here

The correct way to point /bin/sh to bash instead of dash on Debian is
to run:  dpkg-reconfigure dash

It will prompt you for confirmation, so you can say "yes" (which is the
default) to keep things as they are.

The reason it asks in this way is historical: bash *used* to be the
default /bin/sh on Debian, many releases ago.  So it's asking you
whether you want to migrate to the new standard, using dash, under the
assumption that you were using bash before.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]