From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8189ed626c26fad0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Benjamin Ketcham Newsgroups: comp.lang.ada Subject: Re: Thought I'd throw this in ;-) for the sake of conversation. Date: Fri, 24 Sep 2004 17:36:29 -0000 Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <1096047388.469450@yasure> References: <2rig76F1b49udU1@uni-berlin.de> User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Linux/2.4.20-29.8.progeny.8 (i686)) Cache-Post-Path: yasure!unknown@cascadia.drizzle.com X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) X-Complaints-To: abuse@supernews.com Xref: g2news1.google.com comp.lang.ada:4117 Date: 2004-09-24T17:36:29+00:00 List-Id: Nick Roberts wrote: > Bj?rn Persson wrote: >> >> % ls >> foot.c foot.h foot.o toe.c toe.o >> % rm * .o >> rm: .o: No such file or directory >> % ls >> % > > And in fact, a fellow student at my university did precisely this. I had > the unfortunate task of telling her that all her coursework for the last > two weeks was gone. Luckily she got it back (from systems daily backup), > but lost a day's work all the same. Good thing she didn't lose her work on a Windows machine (a much more common occurrence, IME), since it's so rare to have a daily backup that includes the Windows machines. At least Unix only loses your data when you specifically tell it to! I've helped a few people over the years with lost files on Unix (often times the files were not deleted, but rather moved or linked in unintended ways), but by far most of the "lost data" help I've had to give is under Windows; and sadly, there's often little that can be done. Web browser or word processor freezes up after you've typed in several pages of text... it's right there on the screen but you just can't have it... sorry pal, you know the drill: reboot. > And people still ask me, in querulous tones, why I hate Unix so much. There are plenty of things to hate about Unix. OTOH, like democracy, many people seem to find that Unix is "the worst OS out there, except for all the others". And in any case, you haven't brought up any of the *valid* criticisms of Unix, IMO. The problem you have encountered is a symptom of a larger issue: there's no standard, sane environment for beginners in Unix. You can alias "rm" to "rm -i" (also remembering to do "mv -i", "ln -i", etc.; and there's generally a way to make shells not "clobber" existing files with ">", if you like that sort of thing). The problem is, that's not the default! It's up to individual sysadmins to recognize the issue and implement their own piecemeal solutions -- or not. Same goes for "help". There should never be a desktop OS where typing "help" doesn't bring up a (standard) help environment of some sort. Unix is a good OS *technology*, which nobody has quite managed to knit together into a cohesive package suitable for beginners, yet. Criticize it for its flaws, not for your flaws in understanding or effectively using it. --Benjamin