O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required