Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 700
  • Last Modified:

tcsh doesn't read .cshrc

I changed redhat's default shell from bash to tcsh, but tcsh doesn't read .cshrc file everytime I login. I have to type source .cshrc everytime I login, and it's very unconfiniance. Please tell me a tip so that tcsh read .cshrc file everytime I login.

0
kobo100198
Asked:
kobo100198
  • 2
1 Solution
 
vxCommented:
tcsh does not read .cshrc if .tcshrc exists. Check if .tcshrc exists and remove it, or rename .cshrc to .tcshrc.
0
 
jcondeCommented:
Do like vx said!!
Rename your .cshrc to .tcshrc and everything should work fine.

That happens a lot with the root account, I havn't had that problem with a normal account.
i.e.
mv .cshrc .tcshrc
0
 
kobo100198Author Commented:
sorry, but the one who answered my question is vx
0
 
vxCommented:
Then why did you accept the answer? Ah well, it doesn't really matter.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now