1833601 Members
3846 Online
110061 Solutions
New Discussion

Re: Shells

 
Sundar_7
Honored Contributor

Shells

Hi all,

Therotically how can we differentiate

between different shells.

Means,if some body ask U what is the

difference between ksh,csh and sh (posix shell)

I know there are some differences but

not able to exaclty theortically produce

it.

Please help me out

Sundar

Learn What to do ,How to do and more importantly When to do ?
3 REPLIES 3
federico_3
Honored Contributor

Re: Shells

Cheryl Griffin
Honored Contributor

Re: Shells

Sundara
You can find this kind of information in various unix books, even on-line.

Here's a site that has a matrix that shows the differences between shells. http://members.tripod.com/~aviion/shell.htm

Check the man page also:
# man sh
There's a breakdown by shell.
"Downtime is a Crime."
Richard Darling
Trusted Contributor

Re: Shells

Sundara, A quick and dirty answer:

Bourne: oldest, most widely used, available on all UNIX boxes. doesn't have the following features:
command history, line editing, file name completion, alias command, or job control
does allow restrited shells

C: similar to C language for shell programming.
doesn't allow line editing or allow restricted shells. does have command history, fiel name completion, alias command and job control.

Korn: more features that the above two
POSIX: default shell for HP-UX
The Korn and POSIX shell are very similar, having all of the features mentined above.

Hope these notes I had from various sources are helpful...RD