Clearing Firewall Settings

Sometimes it may be necessary to clean up existing firewall settings so you can redo them from scratch.  Here’s some helpful steps courtesy of Vivek Gite.

Note: This applies to Redhat, Fedora, and Cent OS

# service iptables save
# service iptables stop
# chkconfig iptables off


If you are using any other disro type the following command to clear up firewall rules:
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT

Thanks Vivek!

More Florida Schools Directory/Search Services Just Launched!

CapeCoralSchools.com, PortCharlotteSchools.com, EsteroSchools.com, BonitaSchools.com and ImmokaleeSchools.com are five more Florida schools directory/search services conveniently launched by the modernscribe.

In a previous article, OrlandoSchools.com and TampaSchools.com were launched for school searching folks who now have the luxury to shop for the school of their choice narrowed down to performance and location,

Did I mention these are completely free services? If you haven’t already, check them out! The modernscribe behind these fine resources thrives for quality of information and a concise usability that rivals many of today’s websites.

Thanks again Bill for providing such thorough, useful and excellent resources free to the general public!

vi Search and Replace

It’s sad to say I don’t use the vi search & replace enough to have it ingrained where it should be, so here’s to open documentation:

Adding the “how to” search for those who might need it:

Note: Search wraps around at end of file

To search STR forward: /STR
To search STR backwards: ?STR

To repeat the search: n
To repeat search in opposite direction: N ([SHIFT]-n)

Replace
Replace: Same as with sed, Replace OLD with NEW:

First occurrence on current line: :s/OLD/NEW
Globally (all) on current line: :s/OLD/NEW/g
Between two line numbers #,#: :#,#s/OLD/NEW/g
Every occurrence in file: :%s/OLD/NEW/g