Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2008, 02:08 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
IS bash fully compatible with ksh

I want to know if bash is fully compatible with ksh. I have a huge application in ksh and i am planning to migrate it to bash shell. Are there any major incompatibilities??
Thanks in advance
Old 06-25-2008, 03:40 AM   #2
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Generally ksh scripts will run in Bash. But there are different ksh versions too (ksh88, ksh-93).

But search the bash FAQ for the term "ksh": for a list of differences.
Old 06-25-2008, 03:56 AM   #3
Registered: Dec 2006
Distribution: Arch
Posts: 44

Rep: Reputation: 15
Similair but not the same....

$cat /tmp/test.ksh

print "Hello"
$cat /tmp/test.bash

print "Hello"
/tmp/test.bash: line 3: print: command not found



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash vs ksh Nickbrandson Linux - Newbie 7 04-23-2008 06:40 PM
bash or ksh noir911 *BSD 5 05-10-2007 11:08 AM
Fully Linux-compatible USB hard drive jrdioko Linux - Hardware 4 07-19-2006 04:01 AM
This is fully compatible with slackware right? darkhatter VectorLinux 1 03-05-2006 10:16 PM
Will this computer I bought be fully linux compatible? bennett.david Linux - Hardware 15 07-17-2004 01:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration