On Sat, 2003-10-18 at 10:56, lrnobs wrote:
> I found a script for setting iptables on the internet that I like so far.
>
> The author declares some variables and then uses them later on in the script
> ie IFACE="eth0"
>
> When I try to run the script with ./iptables.rules I get a message that
> IFACE is not a command. I tried $IFACE with the same result.
>
> Please tell me what I am missing here.
Sounds like your default shell is something like csh or tcsh.
You should make sure the first line of your script is something like...
#!/bin/sh
--
"An opinion is like an asshole - everybody has one."
- Clint Eastwood as Harry Callahan, The Dead Pool - 1988.
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list