home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!informatik.tu-muenchen.de!regent!svb
- From: svb@svb.guug.de (Sebastian v. Bomhard)
- Newsgroups: comp.unix.questions
- Subject: Re: executing down directory tree
- Message-ID: <148@svb.guug.de>
- Date: 16 Aug 92 16:48:43 GMT
- References: <_a4m!xr.bosak@netcom.com> <1992Aug14.030634.12814@amhux2.amherst.edu> <MERLYN.92Aug14072606@romulus.reed.edu>
- Organization: Brodersen + Bomhard GmbH
- Lines: 64
-
- In article <MERLYN.92Aug14072606@romulus.reed.edu> merlyn@romulus.reed.edu (Randal L. Schwartz) writes:
- >In article <1992Aug14.030634.12814@amhux2.amherst.edu> twpierce@amhux1.amherst.edu (Tim Pierce) writes:
- > Indeed it wasn't, in which case rm -rf sub-dir-name would be terrible
- > advice. All systems I've been on -- and I would think any moderately
- > sane system -- defaults to interactive mode for rm -r.
- >
- >If your rm is in interactive mode, some unthinking but bighearted
- >system administrator created an alias to overload the "rm" command to
- >assist lame users like you so that he/she wouldn't have to do as many
- >file restores. But such an admin forgets that sometimes you get
- >popped into a real shell (/bin/sh), and when you try an "rm" there...
- >boom, no interactivity, and away go your files.
- >
- >PLEASE DON'T OVERLOAD STANDARD COMMANDS WITH ALIASES.
-
- Perhaps this wasn't an alias, perhaps it was a shell wrapper, and then I
- disagree with your opinion. I installed on many systems a script which didn't
- rm at all but moved to a .rmd directory on every moint point and a daemon
- which purged those files after some days.
-
- The users liked it very much, because they came from DOS and where
- used to the Norton Unerase program. (I also provided a "qu" for
- recreation selection).
-
- The original "rm" is called by rm -F (which also was accepted by both
- sysadmins and users on those sites)
-
- >Sysadms, if you want an interactive rm, create an alias called "del"
- >and tell people to do *that* instead of rm. Then at least the worst
- >that would happen is that it would say "del: not found" instead of
- >blasting all the files away.
-
- Agreed, but not totally: The _normal_ user shouldn't see a shell
- prompt, if possible. Think of the new features, FMLI and so on, I
- think, many people share my opinion there. (Well, that may be main
- frame thinking..)
-
- >Grumble, grumble. No wonder people think Unix is hard to learn. Sheesh.
-
- See above, *real* UNIX is hard to learn, but not *using* a computer running unix,
- there it is the opposite way.
-
- >Just another Unix hacker since 1977,
-
- I joined in later ('83 I think, when people told me UNIX were the weirdest
- of all and of no commercial interest at all. I thought that attracted me.
- Same with "C" :-)
-
- Today the main problem are not the users but the admins with low or no
- knowledge at all about the philosophy of UNIX, especially in the
- non-science (=commercial) environment. I have to know, because I teach
- the telecom people (sysadmins) here in germany, they have to manage
- UNIX, Bull, IBM, MS-DOS, BS2000 and so on. No wonder they _like_ shell
- wrappers. Just imagine: On a Bull "cd" is "create directory" (Oh my
- God!)
-
- Bye ;-)
-
- -svb.
-
- --
- Sebastian v. Bomhard <svb@guug.de>, Brodersen & Bomhard GmbH
- >>>> UNIX/Datenbanken/Netzwerke: Planung/Loesungen/Schulungen <<<<
- St.-Anna-Str. 13, D-W-8000 Muenchen 22 (Lehel), +49-89-298934
-