UNIX to Linux Migration

We have certain number of scripts that run on AIX server using ksh.
Now that we migrate these scripts to Linux servers.
We need to know what are the changes that we have to perform in script to make it compatible to run on Linux.

Say like in our Unix -AIX "print" command worked.
But that did not work on Linux,We had to replace it by "echo" command.

Likewise what other parameters i should look into the scripts to make it work on linux.

Welcome to forums, if you can install ksh on your linux server, then there is no need to replace print with echo. please describe your problem.

$ ksh --version
  version         sh (AT&T Research) 93u+ 2012-08-01

$ ksh -c "print hello"
hello
1 Like

What are the other parameters and variables that we have to look into the scripts.our scripts mostly will have if and case statements.

The same script should work fine here on your linux server with ksh, can you tell us what your script does, or else show us your script or else install ksh on your linux server and run it, and come with errors if you receive.

It depends what these scripts do. Some AIX commands, mainly administration ones, have no Linux equivalent.

You might find some useful tips in this thread:

The worst thing is that there is no mksysb

You might find this useful:- UNIXguide.net ( AIX, FreeBSD, HP-UX, LINUX, SOLARIS & Tru64)

Robin