learning a shell: korn or bash?

DWW

Platinum Member
Apr 4, 2003
2,030
0
0
Well I'm embarassed to say this but I'm a C coder who uses FreeBSD and I don't know squat about shell scripting besides the utmost basic tasks heh.

I'd like to know which shell, korn or bash I should take up learning.

It seems like bash is the most popular? (thus more widely available and better to learn I'd think?)
 
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
You might be better off learning perl or python. Shell scripting is a pain in the ass.
 

DWW

Platinum Member
Apr 4, 2003
2,030
0
0
Originally posted by: NoSkillz
I suggest bash....or just c-shell

methinks c-shell would be easier to learn & retain coming from my background :)

care to say why do you suggest bash though?
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
i like bash ... i like the ability to hit the up arrow key to get the last few commands you typed in.
can other shells do this?

but yes ... learn perl or pyhton
 

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
i was in your position too, at work everyone uses ZShell as it seems to be a developer friendly shell. i would reccomend that
 

DWW

Platinum Member
Apr 4, 2003
2,030
0
0
I know a little perl already, but still want to learn a shell as a personal goal heh.
 

kalster

Diamond Member
Jul 23, 2002
7,355
6
81
if you aer going to learn basic shell scripting, i dont think it matters which one you try stuff on
 

DWW

Platinum Member
Apr 4, 2003
2,030
0
0
Originally posted by: kalster
if you aer going to learn basic shell scripting, i dont think it matters which one you try stuff on

With all things, I think I'd like to learn it well and with advanced abilities :)
 

Kadarin

Lifer
Nov 23, 2001
44,296
16
81
Originally posted by: Ameesh
i was in your position too, at work everyone uses ZShell as it seems to be a developer friendly shell. i would reccomend that

I thought for sure you'd recommend DOS... ;)
 

atom

Diamond Member
Oct 18, 1999
4,722
0
0
I haven't really been keeping up with the progress of each of the shells, but zsh pretty much did everything that both bash and ksh do last I checked, so if you have to learn one, zsh is probably the most powerful and most flexible.

I use bash because I don't do anything too complex with shell scripts on my box, so it really doesn't matter what shell I use..............