Newsgroups: alt.folklore.computers From: linley@netcom.com (Bruce James Robert Linley) Subject: Evil uses of ln! (was Re: And what about char?) Message-ID: Organization: Megami no Belldandy-sama no deshi References: <36E5657E.1CBAABEE@home.com> <36efd3ef.10017889@news.home.ibert.com> <7con5b$s2m$1@agate.berkeley.edu> Date: Wed, 17 Mar 1999 17:24:24 GMT Lines: 27 Sender: linley@netcom3.netcom.com Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!newscore.univie.ac.at!howland.erols.net!ix.netcom.com!linley In ye olden post korpela@islay.ssl.berkeley.edu (Eric J. Korpela) spake... > >Has anyone else been tempted to do the following??? > >% cd /etc >% ln -s . ad_infinitum Or the one to defeat the snoopers: % cd % ln -s /dev/zero .plan More /dev/zero fun (*evil grin*). ln -s /dev/zero index.html (good for image/ and cgi-bin/ dirs) And the unix equivalent of that age old question, "What happens when an irresistable force meets an immobile object?" cat /dev/zero >> /dev/null What's that big sucking sound? :) -- Bruce James Robert Linley | +---+---+--_ | "Tea is always bitter... but linley at netcom dot com | | |NV | UT | blood is warm and sweet." Programmer, Fortunet Inc. | \ CA \ |___ | Las Vegas, Nevada, USA ----------> \*| AZ | - Miyu ###### From: Deborah Gronke Bennett References: <36E5657E.1CBAABEE@home.com> <36efd3ef.10017889@news.home.ibert.com> <7con5b$s2m$1@agate.berkeley.edu> NNTP-Posting-Host: mayfield.eng.sun.com X-Newsreader: Gnus v5.5/Emacs 20.3 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!feed2.news.luth.se!luth.se!cam-news-hub1.bbnplanet.com!denver-news-feed1.bbnplanet.com!news.gtei.net!namche.sun.com!ebaynews1.Ebay.Sun.COM!engnews2.Eng.Sun.COM!not-for-mail My favorite is this: ln -s /dev/zero .netscape/cookies linley@netcom.com (Bruce James Robert Linley) writes: > In ye olden post korpela@islay.ssl.berkeley.edu (Eric J. Korpela) spake... > > > >Has anyone else been tempted to do the following??? > > > >% cd /etc > >% ln -s . ad_infinitum > > Or the one to defeat the snoopers: > % cd > % ln -s /dev/zero .plan > > More /dev/zero fun (*evil grin*). > > ln -s /dev/zero index.html (good for image/ and cgi-bin/ dirs) > > And the unix equivalent of that age old question, "What happens when > an irresistable force meets an immobile object?" > > cat /dev/zero >> /dev/null > > What's that big sucking sound? :) > > -- > Bruce James Robert Linley | +---+---+--_ | "Tea is always bitter... but > linley at netcom dot com | | |NV | UT | blood is warm and sweet." > Programmer, Fortunet Inc. | \ CA \ |___ | > Las Vegas, Nevada, USA ----------> \*| AZ | - Miyu ###### From: qwerty@rigel.island.nl (Rob S. Wolfram) Newsgroups: alt.folklore.computers Subject: Re: Evil uses of ln! (was Re: And what about char?) Date: 24 Mar 1999 06:38:18 GMT Organization: Academic Medical Center, The Netherlands Lines: 14 Message-ID: References: <36E5657E.1CBAABEE@home.com> <36efd3ef.10017889@news.home.ibert.com> <7con5b$s2m$1@agate.berkeley.edu> Reply-To: qwerty@hamal.xs4all.nl NNTP-Posting-Host: nol.amc.uva.nl X-Trace: news.surfnet.nl 922261334 112 145.117.32.201 (24 Mar 1999 07:42:14 GMT) X-Complaints-To: usenet@news.surfnet.nl NNTP-Posting-Date: 24 Mar 1999 07:42:14 GMT X-Server-Date: 24 Mar 1999 06:38:18 GMT User-Agent: slrn/0.9.5.3 (UNIX) Cache-Post-Path: nol!unknown@rigel.amc.uva.nl X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.belnet.be!newsfeed.wirehub.nl!surfnet.nl!news.surfnet.nl!rigel.island.nl!qwerty Bruce James Robert Linley wrote: >cat /dev/zero >> /dev/null >What's that big sucking sound? :) Like they say, every OS sucks. This is how Unix does it... :) Cheers, Rob -- Rob S. Wolfram PGP 0x07606049 GPG 0xD61A655D Bubble Memory, n.: A derogatory term, usually referring to a person's intelligence. See also "vacuum tube". ###### From: gnohmon8715@my-dejanews.com Newsgroups: alt.folklore.computers Subject: Re: Evil uses of ln! (was Re: And what about char?) Date: Wed, 24 Mar 1999 20:41:47 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 12 Message-ID: <7dbim9$pf3$1@nnrp1.dejanews.com> References: <36E5657E.1CBAABEE@home.com> <36efd3ef.10017889@news.home.ibert.com> <7con5b$s2m$1@agate.berkeley.edu> NNTP-Posting-Host: 169.71.1.10 X-Article-Creation-Date: Wed Mar 24 20:41:47 1999 GMT X-Http-User-Agent: Lynx/2.7.1 libwww-FM/2.14 X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 169.71.1.10 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.maxwell.syr.edu!nntp2.dejanews.com!nnrp1.dejanews.com!not-for-mail I once created a maze of twisty little directories all alike, that looked exactly like the maze of the same description (from Adventure). Each directory contained other directories named east, west, up, down; and .. was not present unless the "go back" command was valid for that room of the maze. I suppose it would be possible to express the whole dungeon in filesystem terms.... -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own ###### Date: 25 Mar 99 10:51:40 -0800 From: "Charlie Gibbs" Subject: Re: Evil uses of ln! (was Re: And what about char?) References: <36E5657E.1CBAABEE@home.com> <36efd3ef.10017889@news.home.ibert.com> <7con5b$s2m$1@agate.berkeley.edu> <7dbim9$pf3$1@nnrp1.dejanews.com> Message-ID: <2191.753T2023T6515408@sky.bus.com> Newsgroups: alt.folklore.computers Lines: 46 X-Newsreader: THOR 2.5a (Amiga;TCP/IP) NNTP-Posting-Host: news.skybus.com X-Trace: 25 Mar 1999 13:47:12 -0800, news.skybus.com Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!isdnet!howland.erols.net!news-peer1.sprintlink.net!news-in-west1.sprintlink.net!news.sprintlink.net!news.westel.com!news.skybus.com!204.244.247.128 In article <7dbim9$pf3$1@nnrp1.dejanews.com> gnohmon8715@my-dejanews.com (gnohmon8715) writes: >I once created a maze of twisty little directories all alike, that >looked exactly like the maze of the same description (from Adventure). > >Each directory contained other directories named east, west, up, down; >and .. was not present unless the "go back" command was valid for that >room of the maze. > >I suppose it would be possible to express the whole dungeon in >filesystem terms.... ...and indeed it has been. I have a copy of the Adventure shell, which turns Unix into an Adventure game. (Some people claim that Unix already is an Adventure game... :-) Here's the help screen: I understand the following commands (synonyms in parentheses) change OBJECT to NEWNAME Changes the name of the object clone OBJECT as NEWNAME Makes a copy of the object drop OBJECTS Leaves the objects in the room enter (go) PASSAGE Takes the labeled passage examine OBJECTS Describes the objects in detail feed OBJECT to MONSTER Stuffs the object into a UNIX monster get (take) OBJECTS Picks up the specified objects grip (bug) Report a problem with the Adventure shell help Prints the summary inventory (i) Tells what you are carrying kill (destroy) OBJECTS Destroys the objects look (l) Describes the room, including hidden objects open (read) OBJECT Shows the contents of an object quit (quit) Leaves the Adventure shell resurrect OBJECTS Attempts to restore dead objects steal OBJECT from MONSTER Obtains the object from a UNIX monster throw OBJECT at daemon Feeds the object to the printer monster up Takes the overhead passage wake MONSTER Awakens a UNIX monster where (w) Tells where you are xyzzy Moves you to your home If anyone wants it, it's about 21K worth of shell scripts. -- cgibbs@sky.bus.com (Charlie Gibbs) Remove the first period after the "at" sign to reply.