• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

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".  
0
tian
Asked:
tian
1 Solution
 
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

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now