tldr/pages/common/ksh.md

410 B

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}}