?
Solved

tcsh doesn't read .cshrc

Posted on 1998-10-03
4
Medium Priority
?
656 Views
Last Modified: 2012-08-13
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
Comment
Question by:kobo100198
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:vx
ID: 1638189
tcsh does not read .cshrc if .tcshrc exists. Check if .tcshrc exists and remove it, or rename .cshrc to .tcshrc.
0
 
LVL 7

Accepted Solution

by:
jconde earned 20 total points
ID: 1638190
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
 

Author Comment

by:kobo100198
ID: 1638191
sorry, but the one who answered my question is vx
0
 
LVL 2

Expert Comment

by:vx
ID: 1638192
Then why did you accept the answer? Ah well, it doesn't really matter.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question