1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/ksh.md

21 lines
410 B
Markdown

# ksh
> Korn Shell, a Bash-compatible command line interpreter.
> See also `histexpand` for history expansion.
> More information: <http://kornshell.com>.
- Start an interactive shell session:
`ksh`
- Execute a command and then exit:
`ksh -c "{{command}}"`
- Execute a script:
`ksh {{path/to/script.ksh}}`
- Execute a script, printing each command before executing it:
`ksh -x {{path/to/script.ksh}}`