Showing posts with label command. Show all posts
Showing posts with label command. Show all posts

Saturday, February 13, 2010

FreeBSD command to stop IPFW Firewall

To stop the firewall, issue the command: 
# /etc/rc.d/ipfw stop
To disable firewall remove following line from /etc/rc.conf file:
firewall_enable="YES"
OR set it as follows:
firewall_enable="NO"

Sunday, January 25, 2009

Zero's out the file without breaking pipe

cat /dev/null > filename

Zero's out the file without breaking pipe