Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 18:01:47 +0700
From:      Oleg Kolobov <oleg@lib.tpu.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   a nice example
Message-ID:  <36B4381B.5F23418F@lib.tpu.ru>

next in thread | raw e-mail | index | archive | help
Hi,
there is a nice example in SMM 4.4BSD documents (D. Ritchie "On the
Security of UNIX)
#!/bin/sh
while :
do
	mkdir test; cd test
done
I have been executing the script for 5 min.
I can't delete directory - test!!!
I use command "rm -r ./test". No result.
I use script
#!/bin/sh
while :
do
	if [ -n "$GO" ]; then
		rm -rf test
		cd ..
	else
		if [ -d test ]; then
			cd test
		else
			GO=yes
		fi
	fi
done
No result.
Is there a nice anti_example?

Thanks!			
-- 

                                               Oleg.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B4381B.5F23418F>