Script treats variable as command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Thanks,

Larry Nobs





-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux