What OS and version? It's possible that it is running the script but it comes to a command in the script that it can't find, not that the script itself is not found. EG, if I write a script that is called foo, and it's contents are:
#!/bin/sh bar and I type ./fooo, I will get 'fooo not found' on Solaris if I type ./foo I will get 'bar not found' instead. Cheers Simon >Sean Donaghey/HDGH wrote: > >>Hi, >> >>I have created my first shell script to do log rotation, and I am having a >>problem running it. The name of it is fwexport.sh, and I have placed it >>in >>/var/admin. I set the execution flag (chmod 700 fwexport.sh). The >>problem >>is that when I try to run it, I get an error back stating Command Not >>Found. >> >>I do a cd /var/admin, and then I have tried running by typing >>./fwexport.sh, and even fwexport.sh, but I get the same Command Not Found. >> >>Any ideas on how to do it? >> >>Thanks, >> >>Sean P. Donaghey >>Sr. Technical Analyst >>H�tel-Dieu Grace Hospital >>Windsor, Ontario Canada >> >>Tel:(519) 973-4411 Ext. 3717 >>Fax:(519) 973-4650 >>Email: [EMAIL PROTECTED] >> >>================================================= >>To set vacation, Out Of Office, or away messages, >>send an email to [EMAIL PROTECTED] >>in the BODY of the email add: >>set fw-1-mailinglist nomail >>================================================= >>To unsubscribe from this mailing list, >>please see the instructions at >>http://www.checkpoint.com/services/mailing.html >>================================================= >>If you have any questions on how to change your >>subscription options, email >>[EMAIL PROTECTED] >>================================================= >> > >================================================= >To set vacation, Out Of Office, or away messages, >send an email to [EMAIL PROTECTED] >in the BODY of the email add: >set fw-1-mailinglist nomail >================================================= >To unsubscribe from this mailing list, >please see the instructions at >http://www.checkpoint.com/services/mailing.html >================================================= >If you have any questions on how to change your >subscription options, email >[EMAIL PROTECTED] >================================================= _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com ================================================= To set vacation, Out Of Office, or away messages, send an email to [EMAIL PROTECTED] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [EMAIL PROTECTED] =================================================
