[BlueOnyx:14058] Re: FYI shell remove all vsites

David Hahn blueonyx at sb9.com
Wed Nov 27 10:45:58 -05 2013


On 11/26/2013 9:47 PM, Gerald Waugh wrote:
> #!/bin/csh
> #
> # Loop through and remove all vsites while I am drinking a beer or two
> #
> foreach site( `ls /home/sites/` )
>     /usr/sbin/cdelvsite --fqdn $site
>     sleep 1
> end
I like that..

-- 
David Hahn
----
Hey Super Users! - su
Get E Mail Alerts when sites or services are up or down.
Remotely Monitor Website and/or Service Absolutely Free in seconds.
http://mon.pagekeeperservice.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20131127/935bd240/attachment.html>


More information about the Blueonyx mailing list