Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8496377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:50:14+00:00 2026-06-10T23:50:14+00:00

I’ve encountered a situation where it would be very helpful to know the breakdown

  • 0

I’ve encountered a situation where it would be very helpful to know the breakdown of shell use by percentage. For example, I’m looking for something like

bash: X%, sh: Y%, csh, tcsh, zsh, ksh, dash, etc..

Obviously, I know there are several complications – multiple shells, the definition of “use”, uncertainty and so forth, but I would like to see an informed answer derived from actual data and based on some stated metric, even if the result could be horribly wrong.

Bonus if there is historical data demonstrating a shift in preferences.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:50:16+00:00Added an answer on June 10, 2026 at 11:50 pm

    My guess is that BASH is now the shell of choice and makes up the vast lion share of shell users. It’s the default shell on Linux, and Linux has pretty much taken over the Unix world. (Yes, Linux is not really Unix, but it’s damn close).

    Csh was the domain of the BSD set which included SunOS, and Mac OS X. However, Mac OS X switched to Bash in version 10.4 and Solaris switched to the POSIX shell (which is like Bash-like in syntax).

    A bit of history…

    Most Unix users used Csh as their default shell, but programmed in Bourne shell. Csh had a lot of features missing in Bourne shell like aliasing and command line editing which were nice to have when you used it interactively. However, Csh was a poor programming shell. Tom Christiansen’s seminal paper on Csh sort of sealed the deal on programming in Csh. The truth is that even BSD based systems used Bourne shell in startup scripts, etc.

    When Kornshell came out, I switched with a lot of other users. Kornshell had the familiar Bourne shell syntax, but also had the power user features that Csh had. In fact, the Kornshell’s command history ability was way superior to Csh’s command history. The biggest issue with Kornshell is that it was owned by AT&T and was not open source. Almost all commerical Unix platforms (except for SunOS) had Kornshell available. However, open source platforms couldn’t use Kornshell.

    Bash was developed in the late 1980s to be a true OSS shell with many of the features of Kornshell. However, Bash tried to be more compliant with the POSIX standard (which took a lot of Kornshell’s features).

    I still prefer Kornshell (mainly due to habit), but I’m finding it on fewer systems. I tell most new Unix heads to learn BASH since it has the most resources and is the most readily available.

    My recommendation is not to worry too much about Bash vs. Kornshell vs. Bourne Shell vs. Posix. They’re all pretty identical. Forget Csh. The official Turbo Csh page hasn’t been updated since 2004.

    If you write shell scripts, use features that are common among all the Bourne type shells. Use printf instead of echo or print (A Kornshell feature), use [ and ] instead of [[ and ]] since the double square braces aren’t completely compatible between all the shells. Avoid arrays too. Bash 4.0 supports them, but not earlier versions. Kornshell supports both numeric and string arrays, but they’re declared differently from Bash. That still leaves about 90% of the features of the shell script.

    Besides, you’re really better off writing in Python or Perl which are more powerful and faster scripting languages. Plus, both are more platform independent than the various shells. I write shell scripts, but anything more than a few dozen lines, and I switch to a real scripting language.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.