mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 05:02:10 +02:00
21 lines
347 B
Markdown
21 lines
347 B
Markdown
# ksh
|
|
|
|
> Korn Shell.
|
|
> `bash` and `sh`-compatible command line interpreter.
|
|
> More information: <http://kornshell.com>.
|
|
|
|
- Start interactive command line interpreter:
|
|
|
|
`ksh`
|
|
|
|
- Execute a command:
|
|
|
|
`ksh -c {{command}}`
|
|
|
|
- Run commands from a file:
|
|
|
|
`ksh {{file}}`
|
|
|
|
- Run commands from a file and print them as they are executed:
|
|
|
|
`ksh -x {{file}}`
|