It is currently Tue, 17 May 2022 19:21:40 GMT



 
Author Message
 csh or ksh .....cshrc or .profile ?
Hi,

i would like to know why when i have a cmdtool, i dont have my
configuration in my .profile and ksh_env.

I have to launch manually . .profile and . .ksh_env
How could i know if it launch really the .profile (i m sure i m in ksh)
because some modification on the .cshrc are ok and not in the .profile
:(

I really dont understand

Thx at all

Sent via Deja.com
http://www.**-**.com/



 Tue, 03 Jun 2003 00:53:43 GMT   
 csh or ksh .....cshrc or .profile ?
The shell you get when you login is determined by your entry in the
/etc/passwd file.  Look there to determine the shell.

ksh uses a .profile only when you first login and, if ENV variable is
set it will use whatever file it points to everytime it starts.

csh will use .cshrc everytime it starts and .login only on login.  

If you are set to startup with a csh you can set ENV in your .login file
and when you change to ksh it will run whatever file ENV points to.

Note that if you use cde then some of the above changes slightly.

Dale

--
For GPS data see: Joe -- http://joe.mehaffey.com
Peter -- http://www.vancouver-webpages.com/peter/
Karen -- http://www.gpsy.com/gpsinfo/
Dale -- http://users.cwnet.com/dalede



 Tue, 10 Jun 2003 23:41:27 GMT   
 
   [ 2 post ] 

Similar Threads

1. csh to ksh (sh) profile translator?

2. ksh to csh and/or csh to ksh

3. changing bash profile into csh profile?

4. ksh not reading /.profile or /etc/profile

5. where is .profile or .cshrc file ?

6. help with these files .profile, .cshrc, .bashrc

7. .login, .cshrc, .profile

8. .cshrc, .profile, .login, etc.

9. Not using .profile, .cshrc when loggin in, HOW?

10. Proper use of .login/.cshrc (and .profile/.kshrc)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software