![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running an informix query on remote server | sureshg_sampat | Shell Programming and Scripting | 2 | 10-09-2007 03:20 AM |
| Script to check running processes on remote server. | amitsayshii | Shell Programming and Scripting | 5 | 10-06-2006 03:43 AM |
| Running a remote Server through perl script | chandrak | Shell Programming and Scripting | 0 | 02-13-2006 12:25 AM |
| running a script on remote server. | whited05 | Shell Programming and Scripting | 1 | 10-20-2005 05:07 AM |
| Running shell scripts on a remote server | pepintheshort | UNIX for Dummies Questions & Answers | 2 | 07-22-2003 04:20 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Running a Script in a Remote server
I am trying to write a script that would let me run a command in a remote server using ssh.
scriptA: (dcm2nii is a command that only works on the other server) dcm2nii a b c scriptB: (I run this one on the current server) ssh -X otherserver /home/abc/Desktop/scriptA But when I do ./scriptB it says line 1: dcm2nii: command not found but I can do ssh -X otherserver dcm2nii a b c and it works...dcm2nii works in any folder...what have I done wrong? Thanks for the help.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|