Korn Shell
Posted: Tue Sep 23, 2014 7:05 pm
Korn Shell (KSH) first reads default values in $HOME/.kshrc, then /etc/kshrc.
If anything gets set in either file, it will overwrite .profile.
For some reason, Medtronic global IT has the following line in .kshrc in RHEL 6.5 and later (not in HREL 6.4)
No wonder I was unable to use ESC and search for commands in .sh_history file.
Once it is commented out, it starts to work as usual.
My guess is someone who created the kickstart image uses emacs most.
If anything gets set in either file, it will overwrite .profile.
For some reason, Medtronic global IT has the following line in .kshrc in RHEL 6.5 and later (not in HREL 6.4)
Code: Select all
# use emacs editing mode by default
set -o emacs
Once it is commented out, it starts to work as usual.
My guess is someone who created the kickstart image uses emacs most.