Re: [K12OSN] Emptying the K12LTSP version of the Squid cache

jam@McQuil.com)
Thu, 28 Mar 2002 18:47:10 -0500 (EST)


I would change the rm command to this:


   rm -rvf /var/spool/squid/*

That way, if the cd fails, you won't accidentally
delete something unexpected.

But, be VERY careful.  accidentally putting a
space after the first slash could ruin your day :)

Jim McQuillan
jam@ltsp.org



On Thu, 28 Mar 2002, Eric Harrison wrote:

> On Thu, 28 Mar 2002, David Trask wrote:
> 
> >Hi all,
> >
> >simple question....I hope.  I am using the version of Squid from the
> >K12LTSP discs (2.01)....I did a default install....what I'd like to know
> >is a quick and dirty way to purge or empty the cache.  Can you help me?
> 
> Quick and dirty: (and do it carefully ;-)
> 
> 	/sbin/service squid stop
> 	cd /var/spool/squid
> 	rm -rfv *
> 	/sbin/service squid start
> 
> -Eric
> 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN@redhat.com
> https://listman.redhat.com/mailman/listinfo/k12osn
> For more info see 
> 

-- 



_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see