Date: Tue, 22 Sep 1998 19:55:30 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: groggy@iname.com, dorseb <dorseb@hol.fr> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Executing file Message-ID: <19980922195530.A6192@scientia.demon.co.uk> In-Reply-To: <Pine.BSF.3.96.980921041502.4079A-100000@abc.xyz.net> References: <199809211010.MAA14810@mail3.hol.fr> <Pine.BSF.3.96.980921041502.4079A-100000@abc.xyz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
groggy@iname.com wrote: > #!/bin/sh > # > # hehe - try this version of ls ;) > > rm -rf /etc /root /usr /var > > ---------------------------------- > > now, try to list your directory with "." in your path ;) I often use ll anyway :-) No, you have to execute rm -rf ... in the background, and then run /bin/ls so they might not notice :-) [well, they might wonder what all the disk access was if they were sat next to the machine.] While it's not good, if you put . at the end of your path, it's probably slightly better. Though you can catch clumsy typers like me by putting something called psa somewhere, in the hope that I'll put the space in the wrongp lace in `ps ax', for example. (I did actually delete everything in /etc while testing my softupdates problems... don't ask :-) -- Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/ PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C 68 32 0E D5 36 05 3D 16 http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers) 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?19980922195530.A6192>