Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created .kshrc file in my home directory, but all my custom settings are ignored. ENV variable is not set. How can I force ksh to read .kshrc?

Here is my .kshrc:

set -o emacs

export PATH=$PATH:/home/ibykov/bin:/usr/vacpp/bin


share|improve this question
Could you please post your .kshrc file here? – meMangesh Mar 7 '13 at 9:43
Thank you for your attention. I edited my question accordingly. – ibykov Mar 7 '13 at 10:04
up vote 3 down vote accepted

In your .profile add the line

  export ENV=$HOME/.kshrc 
share|improve this answer
Thank you very much! My problem solved now. – ibykov Mar 7 '13 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.