b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

Why not try Korn shell?

by Clair on May 8th, 2008

By default, most of the distros I’ve tried have bash or the Bourne again shell installed in them. Anyhow I was reading an article on Linux.com about korn shell and it seems like a good introductory material for us who don’t have a clue about it.

Things I took away from the article:

  • Korn shell has more features than bash but you could still use the bash commands you’ve been used to.
  • With korn shell you could have many processes and make them ‘talk’ with each other as there is a concept of coprocesses in ksh.
  • There are built-in mathematical expressions in ksh.
  • There are some differences in the way bash and ksh deal with some things but it’s not too painful to resolve them.

For the last point, the article gave readers a tip on how to deal with the way ksh gives a rundown

of the history:
If you type history 100 in bash then the shell will display the last 100 history entries. If you do the same in Korn, it will display all entries from line 100 of the history file. If you see one of the lines that you want to run again, type r and the line number

Maybe you’ve done some bash scripting before and would have loved built-in mathematical expressions as well as the the concept of coprocesses. I suppose it’s time for you to check out korn shell. For those of us who haven’t done anything like that but would like to learn something new, why not use korn shell? :)

Tags:

POSTED IN: Geeky Fun

0 opinions for Why not try Korn shell?

  • No one has left a comment yet. You know what this means, right? You could be first!

Have an opinion? Leave a comment:




Check Spelling
Activate Spell Check while Typing
Site Meter
Close
E-mail It