While using Putty.I have a file in my directory and I want to remove it , but the rm command doesn't work.and it's in white.

link|improve this question
feedback

migrated from stackoverflow.com Feb 6 at 15:27

This question came from our site for professional and enthusiast programmers.

2 Answers

It's probably a backup file from your editor (sorry not sure what), but you can remove them using the following:

$ rm \#*.c\#
link|improve this answer
possible emacs -- emacs uses these files for autosave info – TJ Ellis Feb 6 at 2:15
thanks ,it works. – user1114023 Feb 7 at 13:58
feedback

# is a comment delimiter in bash and probably any shell you're likely to use. Try escaping it with single quotes:

rm '#xxx.c#'
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.