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 Debian
apt-get install bash
Ubuntu
apt-get install bash
Alpine
apk add bash
Arch Arch Linux
pacman -S bash
image/svg+xml Kali Linux
apt-get install bash
CentOS
yum install bash
Fedora
dnf install bash
Windows (WSL2)
sudo apt-get update sudo apt-get install bash
OS X
brew install bash
Raspbian
apt-get install bash
Docker
docker run cmd.cat/sh sh powered 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