The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running a Script in a Remote server ZeroGPX Shell Programming and Scripting 2 03-07-2008 08:07 PM
Running an informix query on remote server sureshg_sampat Shell Programming and Scripting 2 10-09-2007 04:20 AM
Script to check running processes on remote server. amitsayshii Shell Programming and Scripting 5 10-06-2006 04: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 06:07 AM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-22-2003
pepintheshort pepintheshort is offline
Registered User
  
 

Join Date: Jul 2003
Location: Seattle
Posts: 6
Running shell scripts on a remote server

Hi -
I am running Mac OS X (Terminal) at my current workstation, and I would like to telnet to my local server to run a shell script. The local server is a Solaris machine (don't know the version or the type of Unix being run on it, sorry.)

The problem I have is that when I create a #!/bin/sh line, the local server doesn't recognize it . I run less on the .sh script file, so that I can see its contents and I only see the last three lines of the script.

Any suggestions for what I might be doing wrong? By the way, if it helps, the shell script file I created was made on the Mac, using BBEdit, but was saved as a Unix specific, Unix line breaks file. So, I should not be getting any "^M" character set issues with carriage returns.

Thanks for any suggestions you may have!
 

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:59 PM.


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