Files

$HOME/.profilecontains local environment settings, such as the search path, execution options, local variables, aliases, and more. At login time, it is read in and executed after the /etc/profile file.
$HOME/.sh_historycontains previously executed commands
$ENVcontains the name of the file that has aliases, function, options, variables, and other environment settings that are to be available to subshells

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.