What does "<" do in iptables-restore < [file]?
Additionally, what does this command do? Does it change the file?
Are there other commands or ways to use "<"?
What does "<" do in iptables-restore < [file]?
Additionally, what does this command do? Does it change the file?
Are there other commands or ways to use "<"?
<
tells the shell to redirect the contents of the file to theiptables-restore
command's standard input. The file itself is not modified.For a more complete discussion see, for example