[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [FW-1] Problem Running Shell Scripts on Nokia
Dale Fanning wrote: > > Sean, > > The error message may not relate to the shell script per > se, but the commands inside. Check and make sure you have > the command shell specified on the first line (#! /bin/sh for > sh). It is also generally a good idea to fully qualify the > path to each executable you reference ( /bin/egrep instead of > grep, etc.). > > Here's a simple example of something I used to watch the arp > table a while back.. > > #! /bin/sh > /usr/sbin/arp -an |/usr/bin/egrep 'ea:32|fe:5e|db:f7' > > Hope this helps. Or just set your path appropriately within the script. -- Crist J. Clark [email protected] Globalstar CommunicationsThe information contained in this e-mail message is confidential, intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please contact [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] =================================================
|