2014-02-27 ログを監視して、いやなことが3回あったらリブート Linux tail -F /var/log/syslog | perl -ne 'if(/iyanakoto/){$count++}; if($count>3){`reboot`}'