[geeks] Ksh vs sh

Mike Meredith mike at blackhairy.demon.co.uk
Tue Jun 3 12:38:52 CDT 2003


On Tuesday 03 June 2003 08:13, Bjorn Ramqvist wrote:
> I'm trying to do a "set -o vi" under Tru64 UNIX and discover that root
> is using "sh" for shell. If I change it, will I brake something? Is ksh
> compatible with sh?

I haven't got an unadulterated Tru64 machine to look at, but if root's shell 
is /sbin/sh, I wouldn't change it. Just invoke your favourite shell with 
"sudo /bin/ksh" or your preferred method.

It isn't that it isn't compatible (although some weird people like tcsh which 
wouldn't be too compatible), but it can cause extra problems when things are 
going wrong. A statically linked shell is very convenient when things go 
tits-up.



More information about the geeks mailing list