Article View: alt.folklore.computers
Article #4322Re: Delete All Your Files
From: pow... David Powers AG Siekmann
Date: Mon, 03 Sep 1990 12:22
Date: Mon, 03 Sep 1990 12:22
39 lines
1828 bytes
1828 bytes
mon...@diablo.amd.com (Steve Monson) writes:
>In article <FagVo...@zl2tnm.gp.govt.nz> d...@zl2tnm.gp.govt.nz (Don Stokes) writes:
>>I love the way AmigaDOS lets you wipe out all your work with a single
>>misplaced space. Consider:
>>
>> delete #?.o
>>vs
>> delete #? .o
>Ah yessss... There are many places where syntactic near-misses are still valid
>commands. Like the time I wanted to copy a couple of files from a friend's
>directory to mine. Using C-Shell, my command was intended to be
> cp friend/{a,b} .
>but my finger slipped and missed the "." so what I actually typed was
>expanded to
> cp friend/a friend/b
>and my friend's "b" file was replaced by his "a" file. Luckily, it wasn't too
>hard to reconstruct "b", but it did encourage him to reset his umask to 002
>so others couldn't write to his files.
My "favourite" in this line is in vi (or other unix editor):
:!rm tmp
:!ll *.c
If when typing the above sequence you see the following message:
tmpll: not found
you know you have just wiped out your source. I am so used to
repeating commands with !! that I sometimes double the !
accidentally. (ll is an alias or shell script for ls -l.)
David Powers
Technical Details
Message-ID:
<6561@uklirb.informatik.uni-kl.de>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!ira.uka.de!sun.rhrk.uni-kl.de!uklirb!powersReferences:
<1990Sep2.131022.24375@mozart.amd.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!ira.uka.de!sun.rhrk.uni-kl.de!uklirb!powers From: pow...@uklirb.informatik.uni-kl.de (David Powers AG Siekmann) Newsgroups: alt.folklore.computers Subject: Re: Delete All Your Files Keywords: Dumb Typing Tricks Message-ID: <6561@uklirb.informatik.uni-kl.de> Date: 3 Sep 90 12:22:18 GMT References: <1990Sep2.131022.24375@mozart.amd.com> Organization: University of Kaiserslautern, W-Germany Lines: 39 Posted: Mon Sep 3 13:22:18 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit