What does " / " mean?
There was a command i found in a book. This is a single command.
iptables -A FORWARD -m tcp -p tcp -s 0/0 --sport 80 -d 172.16.1.0/24 / --syn -j DROP What does " / " mean? The " / " just before --syn. Is it necessary to give? |
it should "\" not "/". "\" is just to switch new line in command continuation . it should not be "/" here. It may be they have typed it wrong.
|
Thanks
Ya .. i guessed it was for switching to a new line. Can u please suggest a link where i can read more about this?? In the book they have used " / " in all line switching. So i am little confused.
|
Start with Beginner's guide and understand concepts how to make the rules and logic and MAN pages
check tldp.org, http://www.frozentux.net/iptables-tu...-tutorial.html http://www.thegeekstuff.com/2011/01/...-fundamentals/ and At the last.. google is the best option :D |
Quote:
Searching the above document for "backslash" will explain all the possible uses of the backslash character as far as BASH is concerned. |
So thats an escape character.
Thanks again. |
All times are GMT -5. The time now is 07:35 PM. |