How does one change the default shell?

RISINGP1@nationwide.com RISINGP1@nationwide.com
Thu Sep 2 23:13:00 GMT 2010


> > Ah, so you mean how to change /bin/sh to be pdksh instead of bash. 
Simple:
> >
> > cp /bin/{pdk,}sh
> >
> > But be prepared to redo that every time you upgrade bash via 
setup.exe, 
> > and don't come crying to the list if things break that were expecting 
> > bash when they got pdksh.

Thanks.  I was hoping to effect the change environmentally - not 
have to change exe's.

Should I follow that route, no crying will ensue.

I will probably just continue using the shebang line for safety.

- Phil

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list