Shell playground

greet() {
    echo "Hello, $1!"
}

greet "World"

Available tools

base32    dd       fold    numfmt   sha224sum  tail      yes
base64    dirname  git     od       sha256sum  tee
basename  du       head    paste    sha384sum  test
cat       echo     join    pr       sha512sum  touch
cksum     env      ln      printf   shuf       tr
comm      expand   ls      ptx      sort       true
cp        expr     md5sum  rm       split      tsort
csplit    factor   mkdir   rmdir    stat       unexpand
cut       false    mv      seq      sum        uniq
date      fmt      nl      sha1sum  tac        wcF

Sandbox details

sandbox engine:     codapi
sandbox name:       shell
allowed commands:   run, bash, sh, zsh
in-browser:         ✘

Usage example:

```sh
echo "Hello, World!"
```

<codapi-snippet sandbox="shell" editor="basic">
</codapi-snippet>

Documentation