switchsh
bind-mount bash as /bin/sh
Install
- All systems
-
curl cmd.cat/switchsh.sh
- Debian
-
apt-get install switchsh - Ubuntu
-
apt-get install switchsh - Kali Linux
-
apt-get install switchsh - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install switchsh - Raspbian
-
apt-get install switchsh
switchsh
bind-mount bash as /bin/sh
Small program to bind-mount bash as /bin/sh for its child processes. It can be used when bash is not the default shell interpreter but a given program makes use of bashisms (features not required by Policy for sh) and one wants to run it without changing (or can not change) the default sh.