How do you automatically source a .cshrc_local?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How do you automatically source a .cshrc_local?
# 1  
Old 11-19-2009
How do you automatically source a .cshrc_local?

Hello,

When signing into my UNIX account I have to manually source my .cshrc_local

Is there a way to have my ID source that .cshrc automatically when I first sign in?

Thanks for any help


G
# 2  
Old 11-19-2009
cshell automatically reads any file in your login directory with these exact names:

.cshrc read at every invocation of the shell, ie., process creation, login ,etc.

.login read after .cshrc & only in a login shell - i.e., read only one time

.logout read only when you logout

So you could:
A. rename your .cshrc_local to .cshrc -- if a .cshrc does not already exist

or

B. append your .cshrc_local file to the .cshrc already there
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Session terminates automatically

Hi Am using unix Aix Am facing an issue with my login. When i enter user_id and password i can able to login and can able to work on it. When i keep this session idle then again started accesing then i cant able to acesss giving error message "session terminated" everytime am reset my... (1 Reply)
Discussion started by: O_vvv
1 Replies

2. HP-UX

How can i install HP-UX OS automatically?

Hello Friends, I need to install HP-UX OS automatically on HP servers. If anybody know this. Please comment on it and share the steps as well. Thanks & Reagrds, Sameer (2 Replies)
Discussion started by: sameer007
2 Replies

3. UNIX for Advanced & Expert Users

Login putty automatically

Hi Guys , I am using putty.exe file to login to servers . I heard that there is way to save my username and password in putty so that i no need to give my creds while logging into putty . If so please provide me th way to do so . Please note : I am not talking about keyfile . Thanks in... (6 Replies)
Discussion started by: radha254
6 Replies

4. AIX

aix shutdown automatically

hi, My AIX (5.3) machine is getting shutdown automatically. After restarting the machine, its screen goes black and it shows in green: Unmounting the file system.... bringing down the network interface en0 ln0.......halt completed and system shutdowns. Can... (8 Replies)
Discussion started by: Vanit
8 Replies

5. Shell Programming and Scripting

automatically update ??

Hi, This is deb, i have problem an a script for that i need some help and support. problem is ..... i have a file called 'empdetails' i want to add every update or modification of a particular employee to that file (like swap in or swap out,salary,emp id etc.) and the file is... (2 Replies)
Discussion started by: deb.simply
2 Replies

6. Windows & DOS: Issues & Discussions

Automatically shutdown windows

Hi, I'm trying to create a program on how to automatically shutdown my pc for a certain number of minutes. Well, actually i was able to make a very simple one by utilizing the shutdown.exe of windows. Now i'm trying to improve it by adding a function such that i can program my windows to... (2 Replies)
Discussion started by: mcoblefias
2 Replies

7. Shell Programming and Scripting

Automatically creating a folder

Hi How can i create a date folder inside my logs folder everday when a script is run ?? eg : ./logs/20060803/pkm.log where only variable is 20060803 and all other folder name should remain same. Thanks in advance Pankaj (1 Reply)
Discussion started by: pankajkrmishra
1 Replies

8. Shell Programming and Scripting

automatically open

Hi I am trying to write a script to automatically use a predefined program to open a file according to its extension... But I don't know how to pass "programeta" ... :confused: while ]; do case $1 in -pdf ) programeta="kpdf" shift 1 ;; ... (1 Reply)
Discussion started by: pau
1 Replies
Login or Register to Ask a Question