Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Running Suse 10.0 on an x86_64 machine. Have been using the bash shell, which is of course the default shell. I've just installed some software that required me to run it's particular installation script from the csh - so I simply changed shells temporarily >csh and carried on from there. All went well.
To run the actual program in question now I have to change to the csh and then 'source...../setup'
My questions are :
1. Where can I find the .cshrc file to put this 'source....' line into? It's not in my home directory with .bashrc and 'find' has failed to turn anything up.
2. Even if I put this line into .cshrc, is this file run everytime I change shells - from bash to csh? I really don't want to change shells permanently.
3. I tried doing something like this in .bashrc :
alias myname="csh;source...../setup"
but I reckon that this is a bit wacky! Would be grateful for any help. God forbid I actually have to type csh followed by source..../setup evertime I want to run the thing...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.