Re: How to escape this for the bash shell...
On Wed, Aug 04, 1999 at 01:22:17AM -0600, Nate Duehr wrote:
> I have a file named :
>
> ?????[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~
>
> ... in my home directory.
>
> I am wondering how to escape this properly for rm to work on it in
> bash.
>
>
For this one, I'd just enclose the filename in single quotes like
rm '<file>'
which should prevent shell interpretation of the ~,? and [
characters.
Mike
[Private mail welcome, but no need to CC: me on list replies.]
--
Michael Merten
---> E-Mail: mikemerten@yahoo.com
---> NRA Life Member -- http://www.nra.org
---> Debian GNU/Linux Fan -- http://www.debian.org
---> CenLA-LUG Founder -- http://www.angelfire.com/la2/cenlalug
--
I just thought of something funny...your mother.
--Cheech Marin
Reply to: