On Tue, 30 Jun 1998, Slyglif Cain wrote:
->Actually, the problem is the script.  When you do "sh <filename>" from
->a command prompt, you are explicitly telling Linux what shell to use.
->For the script to work from crontab, you have to be able to type
->"<filename>" (no alias for sh) to run the command from a prompt.  To
->make this happen, you MUST put "#!/bin/sh" as the first line of the
->script.


*** So why is it I have #!/bin/sh as the first line in any script and it
still doesn't work? BTW, even with that line in the script, I still have
to type sh [script] in order to run it.

Zoki.

> If it says "requires Windows 95
or better", install Linux. <

Mailed with Linux & Pine.

%% Fin de message / End of message %%


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to