/etc/profile.d scripts
Ryan Golhar
golharam at umdnj.edu
Fri Apr 24 18:03:32 UTC 2009
Create a .csh version of .sh scripts and they will be executed for C Sheel.
m.roth2006 at rcn.com wrote:
> Dave,
>
>> Date: Fri, 24 Apr 2009 09:36:00 -0700
>> From: Dave Martini <martini1 at llnl.gov>
>>
>> I have user logging into a RHEL4 box that has a default shell of C Shell.
>>
>> I have a script in /etc/profile.d that is a Bash shell script with a .sh
>> extension.
>>
>> Is there a way to have the users shell switched to bash shell when they
>> log into this RHEL4 box so that this particular .sh script in
>> /etc/profile.d can be sourced?
> <snip>
> I *think* most c-shell-isms are acceptable to bash; however, there may be some k-shell-isms in bash that the c shell won't like.
>
> Usually, there's an equivalent in /etc for all four shells.
>
> mark, started with c shell, likes bash accepting
> c-shell-isms
>
More information about the redhat-list
mailing list