Can a shell script written for Solaris UNIX machine work just fine if ported into a Redhat Linux machine?
Thursday, December 10th, 2009 at
22:12
I need to know if I can move a shell script abc.sh originally written for solaris work just fine if moved to Redhat Linux. Its a pretty generic but loooong script. I appreciate your answers in advance.
Tagged with: abc • Linux • shell script
Filed under: Redhat
Like this post? Subscribe to my RSS feed and get loads more!
On the assumption that that it was written using a Bourne shell then a Bash shell should be able to cope with it.
Bear in mind that there could be some anomalies because some commands behave differently even though the command exists on both machines.