Plan 9 from Bell Labs’s /usr/web/sources/contrib/mason/rc/cleanlog

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

cd /sys/log

for (i in	\
	aan	\
	auth	\
	cron	\
	chat	\
	cs	\
	dns	\
	fossil	\
	ftp	\
	imap4d	\
	ipboot	\
	listen	\
	mail	\
	nfs	\
	nfsserver	\
	pop3	\
	portmapper	\
	ppp	\
	pptpd	\
	runq	\
	smtp	\
	secstore	\
	smtp.fail	\
	smtpd	\
	ssh	\
	telnet	\
	timesync	\
)
{
	chmod -a $i
	>$i
	chmod +a $i
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.