• Post Reply Bookmark Topic Watch Topic
  • New Topic

Linux for Developers: What happened to shell scripts other than bash?  RSS feed

 
Rick Silva
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There used to be other popular shell scripting languages like the C Shell, the Bourne Shell, etc. but I rarely hear of them anymore.  Did BASH win?  Why?
 
Bo Rothwell
Author
Greenhorn
Posts: 21
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question, Rick.  Sort answer: yes, in Linux BASH won. 

Longer answer: the Bourne Shell has essentially been replaced by the BASH shell in Linux.  Typically /bin/sh (if it exists) is a symbolic link to /bin/bash.  The Korn shell (another Bourne shell derivative) can be installed on Linux distros, but it rarely is. 

The C shell is rarely used in Linux and even the "new and improved" TCSH isn't used very often.  Plus, the C shell was never designed to be a scripting shell (check out http://www.perl.com/doc/FMTEYEWTK/versus/csh.whynot for the reasons why).

Thank you,

-Bo
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!