Why not try Korn shell?
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: shellsRelated Stories
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: