Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Feb 6 '12 at 15:27

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

2 Answers 2

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

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

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

rm '#xxx.c#'
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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