lkml.org 
[lkml]   [1998]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.1.131: some quality thoughts
Date
> On Thu, 17 Dec 1998, Alan Cox wrote:
> > Why
> Because a lot of people do a recursive find on the word core and delete it
> to keep their filesystem clean without checking for file type.

So what?

[benkos@sptnet01 benkos]$ mkdir core
[benkos@sptnet01 benkos]$ rm -f core
rm: core: is a directory
[benkos@sptnet01 benkos]$ ls
GNUstep core downloads lookatthis nsmail testfile
Xrootenv.0 database intranet mail readthis

Note that core doesn't go away.

Why are they being so stupid as to do "rm -rf" instead of "rm -f"? "rm -f"
will blow away core files but not core directories. Of course, blindly
deleting anything is stupid anyway.
--
Ben Kosse
bkosse@thecreek.com
PC Support Analyst
Coldwater Creek Inc.
(208) 265-7114


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.044 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site