Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor network networking outlook problem processor ram recovery router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solved: ksh vs. bash

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
needsleep's Avatar
Senior Member with 100 posts.
 
Join Date: Sep 2005
Location: Minnesota
Experience: Intermediate
08-Oct-2005, 05:08 AM #1
Solved: ksh vs. bash
I'm used to HP-UX ksh. I recently installed a copy of redhat ent linux 3 on my PC - I know, its out of date, but that's where I am. Can I "do everything" I need to do in ksh, or should I take the time to learn bash? Are they much different?
Squashman's Avatar
Distinguished Member with 14,983 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
08-Oct-2005, 06:24 PM #2
I really wouldn't say Rh3 enterprise is out of date. I have not worked much in KSH but from helping others use it I find that it lacks in alot of features that BASH has. Hard core KSH will tell you that it is more stable than Bash.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
08-Oct-2005, 07:21 PM #3
ZSH all the way Great little shell, that doesn't lack BASH stuff but in fact improves on a good bit.
Squashman's Avatar
Distinguished Member with 14,983 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
08-Oct-2005, 09:36 PM #4
Quote:
Originally Posted by tsunam
ZSH all the way Great little shell, that doesn't lack BASH stuff but in fact improves on a good bit.
Hmm, never heard of that one. I might have to try it out.
O111111O's Avatar
Computer Specs
Senior Member with 896 posts.
 
Join Date: Aug 2005
Location: Right here.
Experience: 31337
08-Oct-2005, 10:16 PM #5
Good table of differences below.

http://www.faqs.org/faqs/unix-faq/sh...l-differences/

There are some subtle differences. If you're a crusty KSH scripter (like me), you'll see some issues crop up. Have alot of kshell scripts that poll devices for portcounts and insert into perl DBI connector, biggest thing I've found have been syntax (set, export, for, array, etc.)

FYI, you can compile BASH for HPUX 11x, Solaris 8,9,10.

My peers give me a hard time quite a bit (i.e., "good to see you're using something out of the 90's!).....
__________________
That's nice, last I read; there was a free opensource dev for [insert product name here]
needsleep's Avatar
Senior Member with 100 posts.
 
Join Date: Sep 2005
Location: Minnesota
Experience: Intermediate
10-Oct-2005, 10:00 AM #6
Thanks to all for their inputs.
Squashman - I found a gold mine in your "How to ask questions ..." piece!
FAQ is really what I needed. Probably a lot of other stuff in there I will read too.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
10-Oct-2005, 06:39 PM #7
Squashman, if you want some stuff for your .zshrc let me know. A bit of it is gentoo specific etc but will work for other things so
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:33 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.