The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem in running bash shell commands on HP-UX machine abhishek0071 UNIX for Advanced & Expert Users 6 02-15-2008 03:30 PM
Script doesn't work, but commands inside work cheongww UNIX for Dummies Questions & Answers 2 11-14-2006 10:52 PM
Why do basic unix commands not work in BASH PixelLover UNIX for Dummies Questions & Answers 10 05-23-2006 04:10 PM
how do I get my arrow keys to work for looking thru my PREVIOUS UNIX COMMANDS spotnis UNIX for Dummies Questions & Answers 11 09-14-2005 02:22 AM
old unix machine at work model # wy-50 marycarroll UNIX for Dummies Questions & Answers 1 09-09-2001 01:06 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-12-2008
sanapart sanapart is offline
Registered User
  
 

Join Date: May 2008
Posts: 2
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,
...
  #2 (permalink)  
Old 05-12-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,981
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.
  #3 (permalink)  
Old 05-12-2008
syndex syndex is offline
Registered User
  
 

Join Date: Jun 2007
Location: Pennsylvania
Posts: 46
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.
  #4 (permalink)  
Old 05-12-2008
sanapart sanapart is offline
Registered User
  
 

Join Date: May 2008
Posts: 2
Even though both the machines are having same shell also will they won't work????
  #5 (permalink)  
Old 05-12-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,981
Quote:
Originally Posted by sanapart View Post
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...
Closed Thread

Bookmarks

Tags
linux commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0