[4124] in RedHat Linux List
Re: Deleting quest
daemon@ATHENA.MIT.EDU (Willem Riede)
Tue Nov 12 19:06:09 1996
From: "Willem Riede" <wriede@monmouth.com>
To: <redhat-list@redhat.com>
Date: Tue, 12 Nov 1996 18:16:50 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> From: Jacques Hugo <jacques@linkage.ctech.ac.za>
> Subject: Deleting quest
> Date: Tuesday, 12 November, 1996 10:34
>
> Hi there ..
>
> There's no problem deleting files with a " - " in front, but
> how do you delete a file with a " ! " (exclamation) in front.
>
> Just wondering.
>
> -Jacques
You can quote the name '!abc' or - and this works also for characters that
are not easily typed - use ?abc, but first make sure that that does not
also match another filename. If all else fails, check the i-number of the
file
ls -li
and delete the file by i-number
find . -inum xxx -exec rm {} \;
(please check this in the man page, as I've not needed to do this in quite
a while :-)
Success, Willem Riede.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null