Can't delete file
Hi,
Today a new problem. There is a folder and two files displayed in my debian 6 server. When ever I try to delete it, it wont.It will say "No such file or directory). But it displays the folder and files. I used rm -rf command. I'm with full root permission. How to delete those? Thanks |
Hello,
Could you show us the full directory path, along with a detailed list view of the contents? (ls -al) Cheers, Josh |
you might want to use the "rmdir" command .
and have a read through some terminal tutorials http://tldp.org/LDP/Bash-Beginners-G...tml/index.html |
Quote:
Quote:
Thanks |
Is that the actual output of ls -al?
|
Quote:
Yes. That's weird. These files are displaying , but not in filesystem. (It is there, but not there). |
Try the following:
Code:
file details.txt |
Quote:
Code:
rm flat\\rent_it\\details.txt Code:
rm flat\rent_it\details.txt |
Hi,
Glad you've got is solved. On a side note, have a look at Bash special characters on how to escape them. This happens when you use a special character like a '\' or others in a filename. I'm sure Josh is still a bit sleepy since he didn't notice it earlier. Kind regards, Eric |
I thought that looked different. And yes Eric, I am a bit out of it. At first, I thought "He needs to escape the backslash" but didn't think to mention it. Due for my medications.....
Cheers, Josh |
All times are GMT -5. The time now is 02:14 AM. |