The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
df -k and deleting files ajayr111 UNIX for Dummies Questions & Answers 4 03-14-2007 05:03 PM
Deleting files BG_JrAdmin SUN Solaris 1 11-28-2006 10:17 PM
Deleting old files shiroh_1982 Shell Programming and Scripting 2 06-21-2006 01:42 AM
deleting files in folder amon Shell Programming and Scripting 10 02-21-2006 07:48 AM
Deleting the files livetaurean19 Shell Programming and Scripting 0 06-16-2005 01:16 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-25-2007
bc4 bc4 is offline
Registered User
 

Join Date: Jan 2007
Posts: 1
Deleting Files

Hi,
I have been working with files in emacs and a file showed up in my directories called #main.c# (the original file being main.c). However I cannot delete this #main.c# file. Any suggestions?
Reply With Quote
Forum Sponsor
  #2  
Old 01-25-2007
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 401
Well, I don't know anything about emacs so I don't know if deleting the file would be a good or bad thing.

However to delete the file, you just need to escape the hashmarks.

Code:
$ rm \#main.c\#
That should do it.

Carl
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0