LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cannot find .cshrc , please help (https://www.linuxquestions.org/questions/linux-general-1/cannot-find-cshrc-please-help-59300/)

slice4e 05-11-2003 09:28 PM

cannot find .cshrc , please help
 
I need to modify the .cshrc (the shell start-up file) but I do not know where to look for it and how to open it to modify . Can you please help

Thanks
Martin

Crashed_Again 05-11-2003 09:30 PM

Are you using that shell?

echo $SHELL

It should be in /etc . Then just use vi or pico or whatever to edit it.

slice4e 05-11-2003 09:43 PM

I dont know if I am using "that" SHELL . I am sorry ,
I am total newbe. I just know that I have to modify the startup file of my shell, so that it includes something in the PATH.
When I did echo $SHELL I got
/bin/bash

Please help me out some more

thanks Martin

Crashed_Again 05-12-2003 12:18 AM

You are using the bash shell. The startup file for bash is /etc/bashrc .

then 05-12-2003 01:38 AM

Re: cannot find .cshrc , please help
 
Quote:

Originally posted by slice4e
I need to modify the .cshrc (the shell start-up file) but I do not know where to look for it and how to open it to modify . Can you please help

Thanks
Martin

Look in your HOME folder i.e. while in your login, type cd ~ or just cd. Once you are in the home directory, type ls -la. Then look for files which start with a DOT.

hth
theN


All times are GMT -5. The time now is 02:04 AM.