setting enviroment viriables

After i login into my linux account,the default shell is bash, how can i set the default to tcsh.Also I check the my home directory,there is no .cshrc or .login files. I don't know in which files my PATH variable is set. In /etc/csh.login file, the PATH which is set is different from what displys on the screen when I type "echo $PATH".  
tianAsked:
Who is Participating?
 
elfieCommented:
The default shell is set in the /etc/passwd file
0
 
ahoffmannCommented:
if you don't have access to /etc/passwd, try chsh.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.