Re: iptables Zeile meldet Fehler
Am Donnerstag, 7. Oktober 2004 11:59 schrieb Werner Gast:
> Hallo,
Ebenfalls Hallo,
>
> die folgende Zeile in einem Script macht ploetzlich Fehler.
>
> iptables -A FORWARD -s 0/0 -d $IP -p tcp -j DROP && echo "$IP"
> >> my_list.txt
>
> Meldung: Fehler in der Nähe von `&'
>
> Was mache ich falsch?
Man möge mich korrigieren:
Sind '&' nicht XML-Entitäten, mit denen die Bash (ich vermute, das Du die
verwendest) nichts anfangen kann?
--
mfg
Christian Paul
"The idea that Bill Gates has appeared like a knight in shining armour to
lead all customers out of a mire of technological chaos neatly ignores the
fact that it was he who, by peddling second-rate technology, led them into
it in the first place." -- Douglas Adams in Guardian, 25-Aug-95
Reply to: