ghost file, delete help


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ghost file, delete help
# 1  
Old 09-12-2006
ghost file, delete help

I'm trying to delete a folder in my trash that contains no files or hidden files and nothing happens. It is still there.
However, when I try to delete everything in the folder in terminal I receive an error: Ti?ng Viê?t.html: No such file or directory. I can't find this file anywhere on my tiger powerpc laptop. Also I have RWX privilege, and I'm the owner and group for each dir. Here's what terminal says.

Thanks for any help.

DS-G4:~/desktop/test/.Trash/bob/bob1 ds$ ls -la
ls: Ti?ng Viê?t.html: No such file or directory
total 0
drwxr-xr-x 3 ds 502 102 Sep 10 15:34 .
drwxr-xr-x 3 ds 502 102 Sep 12 16:19 ..
DS-G4:~/desktop/test/.Trash/bob/bob1 ds$ rm *
rm: Ti?ng Viê?t.html: No such file or directory
DS-G4:~/desktop/test/.Trash/bob/bob1 ds$ cd ../../..
DS-G4:~/desktop/test ds$ rm -r .trash
rm: .trash/bob/bob1/Ti?ng Viê?t.html: No such file or directory
rm: .trash/bob/bob1: Directory not empty
rm: .trash/bob: Directory not empty
rm: .trash: Directory not empty
# 2  
Old 09-15-2006
You can try rm T*.html if that is the only T*.html file or use quotes (rm "Ti?ng Viê?t.html" ) but it looks like it's complaining about a file that no longer exist which means your file pointers were not updated. Try unmounting the partition and running fsck (or appropriate file system check) against that partition.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Need Script to ZIP/SAVE & then DELETE Log file & DELETE ZIPS older than 12 months

ENVIROMENT Linux: Fedora Core release 1 (Yarrow) iPlanet: iPlanet-WebServer-Enterprise/6.0SP1 Log Path: /usr/iplanet/servers/https-company/logs I have iPlanet log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I... (7 Replies)
Discussion started by: zachs
7 Replies

2. UNIX for Dummies Questions & Answers

Delete directory from ghost owner with awk

Hi all Unix gurus :) I really need urgent help with deleting ghost (owner is only numbers) accounts on our OS X server in users home directory. I get this ghost accounts after deleting a user from Workgroup Manager. I have done a script that I can see this ghost accounts with: ls -la |... (4 Replies)
Discussion started by: macguy
4 Replies

3. AIX

Flashcopy, ghost hdisk ??

Hi all, I'm getting some errors on AIX regarding Flashcopy and volume group hard disks. The script that activates flashcopy showed this errors: Recreating Flashcopy for lun01_A1 Performing syntax check... Syntax check complete. Executing script... Script execution complete. SMcli... (1 Reply)
Discussion started by: enux
1 Replies

4. UNIX for Dummies Questions & Answers

ghost 4 unix

Hello, I am looking for help on how to use ghost 4 unix. I know there is a site for ghost 4 unix, but if I understood that I wouldn't be here. Everything is already set up, there is a ftp server, iomega network hard drive, there are already images on this network harddrive. I know how to use the... (0 Replies)
Discussion started by: slakk
0 Replies

5. UNIX for Dummies Questions & Answers

ghost reboot on AIX5300-08

we are on aix5300-08. it reboot by itself. according to our unix admin and IBM support, they had seen this before. so, they asked her to apply latest AIX patch for 5300-08. did anyone ever seen anything like this before ? (0 Replies)
Discussion started by: tjmannonline
0 Replies

6. AIX

Ghost Users

I am having a problem that I cannot figure out. RS6000 server running AIX 5.2. Users connect via TCP/IP and login and work just fine. When the user logs out of the application, I can run the "who" command or "w" command and the O/S still reports the user as logged in. If I run "ps -tpts/xx"... (2 Replies)
Discussion started by: Docboyeee
2 Replies

7. UNIX for Dummies Questions & Answers

About ghost pid

Hi, I have a strange (for me) problem here: I use stop command to close program. After that I try to start it again. However, it wont start because one of the needed component fails to start. That is caused propably because the failing component is still running (obviously as a ghost pid).... (3 Replies)
Discussion started by: kolada
3 Replies

8. UNIX for Dummies Questions & Answers

Can I ghost a Unix Box ? with another

I have a Solaris Ultra 10 Box, which contains all my software, I got a new Sun Ultra10 with the same configuration. Can I ghost the it ? Does Unix support any such application. (6 Replies)
Discussion started by: stephen104
6 Replies

9. UNIX for Dummies Questions & Answers

logoff ghost user

I just noticed by running a who command that I was logged in twice . So two admin2 are on the list. (solaris 2.6) Since I telnet using a windows 98, I suppose that I forgot to CTRL-D last time I logged in and clicked on hangup. In such a case, how can I loggoff the old ghost loggin ? It's not a... (4 Replies)
Discussion started by: phpote
4 Replies

10. UNIX for Dummies Questions & Answers

PS finds a ghost?

Hello, I have problems executing a script in ksh with this script named process.sh: ps -ef | grep process.sh | grep -v grep | wc -l | read a if then echo "The script is running" exit 0 fiThe problem is that when I execute the script, sometimes it shows the message "The script is... (10 Replies)
Discussion started by: jguirao
10 Replies
Login or Register to Ask a Question