Claudio Nieder private at
Mon Jun 12 04:35:41 PDT 2000


> . and .. is NOT accepted by rm as the last path component of a file.

You're right, rm on my Yellowdog Linux does not accept .. even though

> ----- from man page ------
> It is an error when the last path component of file is either . or ..
> (so as to avoid unpleasant surprises with 'rm -r .*' or so).

my man page does not mention it (from fileutils-4.0-19.ppc.rpm).

Nevertheless, I destroyed my complete home directory on another Unix
some years ago, so I won't change my practice of never using .* in
any command. You can't be sure, every command is implemented that
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
mailto:private at  icq:42315212
Mail archive:
IRC access: server: port: 6667 channel: #LFS
News Reader access:
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list