which shell to learn "Shell programming"?!

Paul Civati paul at xciv.org
Wed Nov 20 18:59:36 GMT 2002

redjupiter <redjupiter at ntlworld.com> wrote:

> I need to learn to write scripts, which shell should I use?
> I hear about standard shell but I am not sure which is the standard
> shell? 

'sh' (Bourne shell) to begin with, as it's on every UNIX system.

For more functionality some people use 'bash' (most Linux distros use
'bash' as their 'sh' so a lot of Linux stuff uses bash extras) or 'ksh'.

> is it the "sh", or ksh or tcsh or csh? I am using FreeBSD-RELEASE 4.7

I'd probably advise against using csh/tcsh for scripting.


More information about the Ukfreebsd mailing list