System Grab Bag

View all TLDR pages from common (or from all pages)

sh

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.