We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

gdonald on 09/27/06


Tagged

ipfw crond kids bedtime rules


Versions (?)


Bash cron'd ipfw kid's bedtime rules


Published in: Bash 


  1. 0 21 * * 0-4 /sbin/ipfw add 1 deny all from 10.0.0.4 to any >/dev/null 2>&1
  2. 0 21 * * 0-4 /sbin/ipfw add 2 deny all from any to 10.0.0.4 >/dev/null 2>&1
  3. 0 5 * * 1-5 /sbin/ipfw del 1 >/dev/null 2>&1
  4. 0 5 * * 1-5 /sbin/ipfw del 2 >/dev/null 2>&1

Report this snippet 

You need to login to post a comment.