Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, Why are there so many shells in Linux? bash, korn, csh,ksh, tcsh and so on. Isn't it true that all the shells are functionally equivalent?...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1

    Why are there so many shells?

    Hi all,

    Why are there so many shells in Linux? bash, korn, csh,ksh, tcsh and so on. Isn't it true that all the shells are functionally equivalent?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    True but some have powers others dont have. a friend of mine is a big big fan of csh as its more like C.
    Eg (from Wikipedia)
    #!/bin/csh
    if ( $#argv < 2 ) then
    echo "usage: $0 minutes message"
    exit 1
    endif
    instead of
    #!/bin/sh
    if [ $# -lt 2 ]
    then
    echo "usage: $0 minutes message"
    exit 1
    fi
    I Myself am a big fan of Perl based Shells. As I code a hell of a lot of perl code..
    Aslong as you don't make big one-liners or anything. If you don't pipe, fork or anything it doesn't really matter what shell you have.
    If you are new to Unix or a Linux freak of nature Bash is one of the best for you.

    Some shells accept popd or pushd some accept colour some dont. There are choices.

    have a look at all and pick one
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Different shells definitely have different features.

    I'm a fan of zsh myself. It has amazing autocompletion abilities. And for Arch there is a script to add tab completion for package management. I do all my package management from the command line, and I love this feature.

    zsh: The last shell you’ll ever need! Fried CPU

    ZSH-LOVERS(1)

    Adam's zsh page

    Z-Shell Frequently-Asked Questions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...