.cshrc won't execute on login
CentOS 7.0 which we just installed as a VM
I have root access to the VM, via putty and ssh. When I login to csh, my .cshrc in /root doesn't execute. How do I get it to execute? Thanks. EDIT: Holy smokes! 5 minutes after posting this it was the top result in a Google search! |
Are you really sure about that?
check your login shell, home dir settings, permissions and try to insert an echo "this is my .cshrc" into .cshrc. |
Yes I'm sure, my aliases were not getting set. I had to put this in my $HOME .login file:
source .cshrc Then it worked. |
It depends on how csh was compiled, here is the official man page:
Quote:
|
All times are GMT -5. The time now is 06:38 PM. |