September 16th, 2000, 12:45 PM
I'm running Redhat Linux 6.2 and I'm trying to set my path, but I'm not sure how. I'm also not sure what shell I'm running. I tried adding to /root/.cshrc but that didn't work. Also I'm telneting to the server.
September 25th, 2000, 08:51 AM
You sorta need to know what shell you are using. Then you set the PATH in the shell resource file in your home directory:
bash: /home/you/.profile OR .login
tcsh: /home/you/.tcshrc OR .cshrc
and so forth
September 25th, 2000, 10:10 AM
How do you find out what shell you are using?
September 25th, 2000, 06:16 PM
i think you just type ps to see which programs are running. one of them should be your shell, right?
[This message has been edited by yomamma (edited September 25, 2000).]
September 25th, 2000, 06:19 PM
All Redhat use bash as a default shell. If you haven't changed to another, then bash is your current shell.
September 26th, 2000, 08:10 AM
Thanks. I found out that in the /etc/passwd file you can define the shell and I am using bash.