What's your most useful shell?

of course /bash

my favorite shell is ksh -:slight_smile:

I only use KSH.

Neo

KSH shell - Is my poll choice

but you dont have zsh?

zsh is nice to me!

1 Like

Depends on what I'm doing. Normally for me it's ksh for scripting and vi style command editing but if I'm having to navigate my way around directories I'll switch to bash because auto-completing directories with tab saves so much time .....

ksh in vi mode also supports auto completion of files/directories. Just press 'Esc' and then '\'. Pressing 'Esc' and then '*' will give you all the files and directories starting with the pattern specified.

1 Like

I suppose I should really use the ksh auto complete when I'm using Solaris. over the last year we've been building and developing on loads of Linux (SuSe) blades and I've kind of got use to using bash's tab auto-complete and now the tab just seems a little more natural to me....

bash but lately using ksh because my company have set the default shell for all unix boxes is ksh

or u can use 'Esc' and then '=' to list all the files and directories starting with the pattern specified.

Is there a decent list of the ksh vi mode shortcuts anywhere ??

I had a quick google but didn't find anything....

Vi Control Mode Commands
Emacs Mode Commands

Cheers for that !!

How come so many prefer the Korn shell?

What I don't like about it is that it's proprietary
though by now I think there is a public domain ksh available.

On some modern Unices like HP-UX there's no need at all for ksh
since the standard HP shell is a Posix shell with much of the capabilities
of Bash or Ksh.

If not on HP however, I prefer Bash.

But even though Bash offers arrays, and arithmetics and many other
neat stuff,
I find as soon as I feel it would be handier to have LoLs or more advanced
data structures that autovivicate on the fly,
simply to avoid temporaral dump files or awkward evals,
or if parsing gets too circuituous and involves too many pipes,
I pretty soon end up doing it in Perl.

So no doubt, Perl is my preferred shell.

/bin/ksh for me

Awadhesh

bash for me (although the /bin location is rather dubious)

As a mac/linux/sun admin, I like that it seems to have the least cross-platform issues. Plus, as previously stated, the vi-style history mode is brilliant.

I write all my scripts in bash, and have for years now, so I suppose I'm a bit of a bash guru :wink:

I use Ksh all the time...its best for me

I use bash and tcsh.

Bourne Shell --Very old Shell,not that many Functionalities

C shell -- No VI Command line editing ,follow C rules.

Korn shell -- Have features of both Bourne and some of C, and has Powerful VI Command line Editing.

bash Shell -- Have all the features including Command line
editing ,substitution commands

Mostly Developers prefer ksh.

Thanks
Uday

I could not be able to survive without bash-completion... :slight_smile: