Will solaris commands work on linux machine

Earlier we are using solaris machine to run our script which is having korn shell. Due to decommision of that machine we have to switch to Linux machine which is also having korn shell.

Do the commands on solaris machine will also work on linux machine or should i have to change any thing? One thing in common is both of them are having korn shell only.

It's very urgent faster responses are appreciated.

Thanks,
...

depends on how complex the script is... but i think it won't work. linux uses gnu tools while solaris not! so the output of the commands is different and that might cause problems.

It probably will not work.

When I write scripts to work on AIX and Linux, I have to write it for AIX - test it - then rewrite it so it works on Linux.

I'm not smart enough to just write cross-platform right off the bat.

Even though both the machines are having same shell also will they won't work????

most commands you use are not shell-build-in commands... so, no! it won't work. but you can give it a try for sure...