Search Results

Search: Posts Made By: thixeqi
4,661
Posted By thixeqi
Which posts of mine is NOT identical to what is...
Which posts of mine is NOT identical to what is posted on serverfault dot com/questions/200635/linux-iptables-best-way-to-clear-all-rules-leaving-anything-open ?
4,661
Posted By thixeqi
As originally supplied, I have to copy and paste...
As originally supplied, I have to copy and paste line by line after sudo-ing in a terminal.

If I can combine the three lines into a single one, then I just have to copy and paste one line in to...
4,661
Posted By thixeqi
Thanks for the tip. If '\' is used to break...
Thanks for the tip.

If '\' is used to break lines, then there is none in the code.

Could you help me transform the following 3 lines into a single line please?
iptables-save | awk '/^
/ {...
4,661
Posted By thixeqi
How do you transform the following into a single...
How do you transform the following into a single line?
iptables-save | awk '/^
/ { print $1 }
/^:[A-Z]+ [^-]/ { print $1 " ACCEPT" ; }
/COMMIT/ { print...
4,661
Posted By thixeqi
How to create an executable bash script for these commands?
I wish to create an executable bash script that will run the following commands as root, that is, using sudo su
iptables-save | awk '/^
/ { print $1 }
/^:[A-Z]+ [^-]/ {...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy