there's couple ways.

first remember that you can surround any argument with " " or ' ' to keep the 
shell from interpreting it as a command (or in this case a comment)  so you 
could use "rm" to blow away a wierd file like so:

  $ rm '<filename>'

if you don't like the quoting thing, there's always escaping individual 
characters with "\" like this:

  $ rm your\ mother\ was\ a\ hamster.txt

(i love monty python)
using either of the above methods you should be able to kill any file that you 
can type:

  $ rm \#filename\#

or

  $ rm '#filename'

have fun


On February 10, 2003 02:54 pm, Ted Gervais wrote:
> Was wondering something here.  Now and than I end up with a file that has
> '#' in front and back of it.  ie: #filename#.
>
> No doubt that is caused by using MC and while MC can delete these files how
> does one do it from the command line?    I have often tried to try a few
> approaches to removing them  'rm #*  or rm *#   and can't seem to delete
> them.
>
> How is this done from the commmand line without resorting to using MC.??
> --
> T.L.Gervais
> Coldbrook, NS
> Canada.

-- 
you cannot write history
you can only live through it
  - g'kar, babylon 5 "a view from the gallery"



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to