Solved

tcsh doesn't read .cshrc

Posted on 1998-10-03
4
644 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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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