[SunHELP] Running a .sh script

Jarrett Carver sunhelp at sunhelp.org
Wed Sep 26 19:39:05 CDT 2001


try `sh -x /var/adm/sysrecover.sh` to see if it's stopping on a command in 
the script itself that cannot be found, and there for the entire path needs 
to be specified in the script. Also make sure the first line of the script 
is

#!/bin/sh



>From: "Kusala Kumsinda" <kkumsinda at usaid.gov>
>Reply-To: sunhelp at sunhelp.org
>To: <sunhelp at sunhelp.org>
>Subject: [SunHELP] Running a .sh script
>Date: Sat, 22 Sep 2001 14:10:31 -0400
>
>Folks,
>
>I am trying to run a script on my Solaris server (/var/adm/sysrecov.sh) but
>it keep telling me that command not found. This is how I am typing it out 
>on
>the command prompt:
>
># /var/adm/sysrecov.sh
>
>Am I missing something ???
>
>Please assist as soon as possible.
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the SunHELP mailing list