From: Joe Mario <mario@zk3.dec.com>
To: "Donald G. Marchlenski" <march@newark1.newark.ohio-state.edu>
Subject: Re: Help deleting a file named *
Date: 1998/01/12 [thread overview]
Message-ID: <34BA585C.794B@zk3.dec.com> (raw)
In-Reply-To: 34B6A1DD.33E872AC@newark1.newark.ohio-state.edu
Donald G. Marchlenski wrote:
>
> I did a bad thing with ftp and wound up creating a file named * in
> my home directory.
> ...
> but I wonder if there is a way to just delete *.
Try using: rm -i -- \*
% touch "*"
% touch foo
% ls -l
total 0
-rw-r--r-- 1 mario decc 0 Jan 12 12:50 *
-rw-r--r-- 1 mario decc 0 Jan 12 12:50 foo
% rm -i -- \*
rm: remove *? y
% ls -l
total 0
-rw-r--r-- 1 mario decc 0 Jan 12 12:50 foo
%
Joe
prev parent reply other threads:[~1998-01-12 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-09 5:00 Help deleting a file named * Donald G. Marchlenski
1998-01-12 5:00 ` Joe Mario [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox