Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Keep alive tool


On Tue, 29 Aug 2000, Brian Marr generated:

>If you have trouble with log files filling your partition
>
>REMEMBER THIS
>
> echo > /var/spool/mail/root

Why not just redirect stdout/stderr if you don't want output?

-----
#!/bin/sh

ping -c 2 127.0.0.1 > /dev/null 2>&1
-----

Then you don't go around nuking roots mailbox, which IMHO is pretty
dumb.

-- 
jamesw

"We're like sisters... with really different hair!"
		-- Cordelia Chase, Buffy the Vampire Slayer
------------------------------
jamesw@xxxxxxxxxxxxxxxxxxx