The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
.cshrc flie help Lefty UNIX for Dummies Questions & Answers 2 12-21-2004 02:37 AM
.cshrc and .login overwritten !! gjthomas UNIX for Advanced & Expert Users 5 06-08-2004 01:11 PM
how to specify header directory in .cshrc champion UNIX for Dummies Questions & Answers 1 01-06-2003 10:57 AM
Declaring variable environments in .cshrc v_sharda UNIX for Dummies Questions & Answers 2 09-23-2002 07:25 PM
How to set the CVSROOT in the .cshrc file? a8111978 UNIX for Dummies Questions & Answers 1 06-05-2002 11:28 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-28-2002
Registered User
 

Join Date: Jul 2002
Location: Oman
Posts: 44
cshrc

where are my .cshrc files ?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-28-2002
Registered User
 

Join Date: Aug 2002
Location: Marlboro, MA
Posts: 114
try this...

cd $HOME
ls -al | grep "cshrc"
Reply With Quote
  #3 (permalink)  
Old 08-28-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
In your home directory usually - do a long list with the -a option
% ls -la
and you will see the . files also.

If you still don't have them, I know on SUN there are default copies in /etc/skel/ for the different shells. Just copy local.cshrc to your home directory and rename it .cshrc. Set the ownership and permissions and add anything you need into it. Same for local.login to .login.

If you are using a different OS than Solaris, post back.
Reply With Quote
  #4 (permalink)  
Old 08-28-2002
Registered User
 

Join Date: Apr 2002
Posts: 31
Hi RTM,

I found 3 files on /etc/skel

local.cshrc local.login local.profile

Could someone tell me the difference between these files?

Thanx
Reply With Quote
  #5 (permalink)  
Old 08-28-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
NattyX2,

They are simply default files to help set up users. The local.cshrc and local.login are for users with csh, the local.profile is for sh and ksh. I don't know why there isn't a local.kshrc as ksh can also have one of those.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0