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