sh
Bourne shell, the standard command language interpreter. See also histexpand for history expansion. More information: <https://manned.org/sh>.
Install
- All systems
-
curl cmd.cat/sh.sh
- Debian
-
apt-get install bash - Ubuntu
-
apt-get install bash -
Alpine
-
apk add bash - Arch Linux
-
pacman -S bash - Kali Linux
-
apt-get install bash - CentOS
-
yum install bash - Fedora
-
dnf install bash - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install bash - OS X
-
brew install bash - Raspbian
-
apt-get install bash - Docker
-
docker run cmd.cat/sh shpowered by Commando
Bourne shell, the standard command language interpreter. See also histexpand for history expansion. More information: <https://manned.org/sh>.
-
Start an interactive shell session:
sh -
Execute a command and then exit:
sh -c "command" -
Execute a script:
sh path/to/script.sh -
Read and execute commands from `stdin`:
sh -s
© tl;dr; authors and contributors