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,21 +1,21 @@
# ksh
> Korn Shell.
> `bash` and `sh`-compatible command line interpreter.
> Korn Shell, a Bash-compatible command line interpreter.
> See also `histexpand` for history expansion.
> More information: <http://kornshell.com>.
- Start interactive command line interpreter:
- Start an interactive shell session:
`ksh`
- Execute a command:
- Execute a command and then exit:
`ksh -c {{command}}`
`ksh -c "{{command}}"`
- Run commands from a file:
- Execute a script:
`ksh {{file}}`
`ksh {{path/to/script.ksh}}`
- Run commands from a file and print them as they are executed:
- Execute a script, printing each command before executing it:
`ksh -x {{file}}`
`ksh -x {{path/to/script.ksh}}`