bash, dash, fish, ksh, rbash, sh, zsh: refresh (#5714)

This commit is contained in:
bl-ue
2021-04-14 10:07:21 -04:00
committed by GitHub
parent 7755ac87fb
commit 16e4ed5c89
9 changed files with 100 additions and 73 deletions

View File

@@ -1,20 +1,21 @@
# sh
> Bourne shell.
> The standard command language interpreter.
> Bourne shell, the standard command language interpreter.
> See also `histexpand` for history expansion.
> More information: <https://manned.org/sh>.
- Start interactive shell:
- Start an interactive shell session:
`sh`
- Execute a command:
- Execute a command and then exit:
`sh -c {{command}}`
`sh -c "{{command}}"`
- Run commands from a file:
- Execute a script:
`sh {{file.sh}}`
`sh {{path/to/script.sh}}`
- Run commands from stdin:
- Read and execute commands from stdin:
`sh -s`