[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 687
  • 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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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