What is your favorite shell

Submitted by kamaraju

Tags: none.

 

sh  <-> 4%35 votes
bash  <-> 79%694 votes
csh  <-> 3%28 votes
dash  <-> 0%4 votes
esh  <-> 1%12 votes
ksh  <-> 1%14 votes
zsh  <-> 9%80 votes
Total 875 votes

Posted by Anonymous (151.204.xx.xx) on Thu 25 Aug 2005 at 17:58
Yes, bash. Then ksh or zsh. Then plain sh. Dash for small
systems.

I started back when csh was the only fancy shell but I never got into it.

[ Parent ]

Posted by Anonymous (24.58.xx.xx) on Fri 26 Aug 2005 at 03:43
Bash for normal use, dash for old boxes and whenever I just want an application launcher.

[ Parent ]

Posted by Steve (82.41.xx.xx) on Fri 26 Aug 2005 at 05:27
[ Send Message | View Steve's Scratchpad | View Weblogs ]

I use bash on all my hosts, where possible.

I manage SCO, and Solaris machines as well as SuSe and Debian GNU/Linux installations and on all of them I have GNU Bash.

I find being forced to use the "plain" /bin/sh on Solaris machines especially painful, mostly because I can't use any of the handy keyboard shortcuts, or completion functionality.

Ditto with SCO, which is even worse when it is in a virgin installation without any GNU tools.

I suspect 99% of Linux users will choose bash, if only because it is the default choice.

Steve
-- Steve.org.uk

[ Parent ]

Posted by Anonymous (80.125.xx.xx) on Sat 27 Aug 2005 at 05:57
i think bash is used because it's the default shell on linux
( same problem with IE under windows ) but can anyone give me one point where bash beats zsh ?

[ Parent ]

Posted by Anonymous (66.245.xx.xx) on Sat 27 Aug 2005 at 06:11
i think you're right. the other reason is that since its default on linux, people can expect to have bash on remove servers in which case you cant just install zsh.

[ Parent ]

Posted by Anonymous (209.161.xx.xx) on Sun 28 Aug 2005 at 13:09
ZSH rulez in my book.

[ Parent ]

Posted by castalia (170.170.xx.xx) on Sun 28 Aug 2005 at 04:09
[ Send Message ]
zsh is the win.

I mean tab completion to apt-get install...taking laziness to the next level.

[ Parent ]

Posted by Steve (82.41.xx.xx) on Sun 28 Aug 2005 at 04:53
[ Send Message | View Steve's Scratchpad | View Weblogs ]

You can do that with bash too - just source /etc/bash_completion in your login script, eg:

if [ -f ~/.bash_completion ]; then
   . /etc/bash_completion
fi

Steve
-- Steve.org.uk

[ Parent ]

Posted by Anonymous (84.4.xx.xx) on Sun 28 Aug 2005 at 11:31

have you tried the zsh completion ? have you programmed your one ?

bash is really outdated compared with the new zsh completion system. it's the same for file globbing, for modern syntax, for ...

anyway, bash is bigger and slower than zsh (according to some little tests i've done. it's not very scientific but the time command can be a good clue)

[ Parent ]

Posted by Steve (82.41.xx.xx) on Sun 28 Aug 2005 at 11:39
[ Send Message | View Steve's Scratchpad | View Weblogs ]

No I haven't, but the original example referenced in the parent "apt-get ins[TAB] package-name-fragment[TAB]" is supported in Debian's bash package, so I thought it was worth mentioning.

I use a sufficiently large number of different operating systems that I only really care about shells which are available on all of them.

(This is also why I stick to Perl instead of using Python, or Ruby, most of the time - it's readily available on systems like SCO Unixware and Sun Solaris without having to compile).

In practise this means I restrict myself to only /bin/sh, and bash. Whilst I know both have flaws, and alternatives exist I don't want to rely upon their presence.

Steve
-- Steve.org.uk

[ Parent ]

Posted by Anonymous (84.4.xx.xx) on Sun 28 Aug 2005 at 22:07

agree with you for sticking perl instead of python, ruby ... because you have to learn new syntax and practice before have some hypotetical gain.

disagree for zsh because a lot of things are the same for the two shells, no need to start at the begin. Just enjoy new features.

Really, Steeve, just chsh ... without change your habits. I'll enjoy later!

[ Parent ]

Posted by Steve (82.41.xx.xx) on Sun 28 Aug 2005 at 23:29
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Tell you what I will continue to enjoy my Sainthood - and switch to zsh on my primary machine for the next week and see how it compares...

Steve
-- Steve.org.uk

[ Parent ]

Posted by hardik (61.95.xx.xx) on Mon 29 Aug 2005 at 05:33
[ Send Message ]
Ofcourse "bash". Why you not added "SSH"..I think it's shell....

[ Parent ]

Posted by Anonymous (213.196.xx.xx) on Mon 29 Aug 2005 at 13:56
mksh of course, followed by "any" ksh.

http://mirbsd.mirsolutions.de/?mksh
It's even in Debian now.

If you've used mksh, then sit on a GNU bash system
and press ^W, you will know why I hate it... and
for scripting, it's far superiour (co-routines,
better pattern matching, etc.).

[ Parent ]

Posted by ajt (84.12.xx.xx) on Mon 29 Aug 2005 at 16:48
[ Send Message | View Weblogs ]
Like many people I picked Bash. It's been on every Linux box I've ever used, and it's the standard on most. I even use it on Windows via Cygwin - the default Windows shell is to brain dead to be of any use.

At work we have AIX 4.x boxen, and they have antique csh and korn on them - working with them is SO HARD. I can't believe I once use to use csh on Sun OS.

People keep telling me that zsh is the "next generation" of Bash. I've used it once or twice, but I really need to use it for a lot longer to see if I like it.

--
"It's Not Magic, It's Work"
Adam

[ Parent ]

Posted by Eirik (129.177.xx.xx) on Thu 1 Sep 2005 at 16:26
[ Send Message ]
Bash. The first command lines I used was Amiga cli/shell, and then (t)csh. But when I started using linux, I soon grew to like bash, and since 2.0 it does everything I need from a cli.

I might work my way over to zsh in time -- as it's mostly bash, with *more* features. Csh has broken redirection and makes for non-standard scripts. I consider it evil :-)

I think tab-completion is cute -- but I don't really feel the need for extended completion. It's nice, but not a must. But having GNU readline available is nice (not specific to bash, ofcourse).

My only complaint with bash/ksh is that array notation, and general advanced scripting features has a bit convoluted syntax -- which is why I think schemesh, or even a python derivative might be a better way to go. Making a "better" bash doesn't make much sense to me, because sh is all about portability and standard features.

If you want something pretty, use python, ruby or the scripting language of your choice. This is also one of the reasons why I don't like perl; I don't thin it has it's place. If I can't do it with read, grep, awk, sed, sort, uniq and bash -- then it's a job for a "real" programming language.

[ Parent ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search

Poll Archive

View Prior Polls