System Grab Bag

View all TLDR pages from common (or from all pages)

ksh

Korn Shell, a Bash-compatible command-line interpreter. See also: histexpand. More information: http://kornshell.com.
  • Start an interactive shell session:
    ksh
  • Execute specific [c]ommands:
    ksh -c "{{echo 'ksh is executed'}}"
  • Execute a specific script:
    ksh {{path/to/script.ksh}}
  • Check a specific script for syntax errors without executing it:
    ksh -n {{path/to/script.ksh}}
  • Execute a specific script, printing each command in the script before executing it:
    ksh -x {{path/to/script.ksh}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.