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

Special Variables

There are a number of variables provided by the Korn shell that allow you to customize your working environment. Some are automatically set by the Korn shell, some have a default value if not set, while others have no value unless specifically set.

CDPATH search path for cd when not given a full pathname (no default)
COLUMNS window width for in-line edit mode and select command lists (default 80)
EDITOR pathname of the editor for in-line editing (default /bin/ ed)
ENV pathname of the environment file (no default)
FCEDIT default editor for the fc command
FPATH search path for auto-loaded functions pathname of the history file
HISTFILE pathname of the history file (default $HOME/ .sh_history)
HISTSIZE number of commands to save ...

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