Options

The Korn shell has a number of options that specify your environment and control execution. They can be enabled/disabled with the set command or on the ksh command line.

Enabling/Disabling Options

ksh [–/+options]enable/disable specified options
set [–/+options]enable/disable specified options

List of Options

–a automatically export variables that are defined
–b execute all background jobs at a lower priority
–c cmds read and execute cmds (w/ksh only)
–e execute ERR trap (if set) on non-zero exit status from any commands
–f disable file name expansion
–h make commands tracked aliases when first encountered
–i execute in interactive mode (w/ksh only)
–k put variable assignment arguments in environment
–m enable job control (system ...

Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.