Solved

tcsh doesn't read .cshrc

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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