Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 22nd June 2012, 05:30 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: Cannot remove file: rm file not found

Quote:
Originally Posted by Bassman449 View Post
I have a file on an external hard drive that appears to be corrupted. I tried deleting the file and rm returns
Code:
rm: cannot remove : No such file or directory
If I run ls on the directory I can see the file clearly and running ls --size shows it to take one block.

I need a way to delete this file if anyone has any suggestions I appreciate it.
the error message suggests that for some reason the file name being passed to "rm" is an empty string. That's because the error message should be formatted:
Quote:
rm: cannot remove <filename here>: No such file or directory
but in your message there was nothing there. Another possibility is some binary characters got passed to rm that can't print to the screen
Reply With Quote
Reply

Tags
file, remove

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F7 ks file: cdrom not found alessiof Installation and Live Media 0 8th June 2007 09:26 AM
File not found ??? alpha645 Using Fedora 0 19th December 2006 03:39 PM
XP via Samba locks the file, Lin usr brakes the lock with opening file and file =RW ! marisdembovskis Servers & Networking 2 4th July 2006 09:14 AM
Can not boot new KERNEL > Error 15: File not found > but the file exist marxiano533 Using Fedora 0 22nd June 2006 05:50 PM
File not found by glob galahand Using Fedora 1 23rd May 2006 12:38 PM


Current GMT-time: 13:56 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat