Unix – remove file with unseen characters
- Posted by Arjun Raja
- On June 25, 2009
- 0 Comments
This works on AIX – Please test on other systems.
If a file name is vague and can’t be removed.
Ex – a file name has some hidden characters which prevents it’s removal as the name is not recognized by the rm command.
ls -lai sqlnet.log
19462 -rw-r—– 1 oraofsap dba 7741 Jun 4 13:14 sqlnet.log
look for number against file and rm number .
find . -inum 19462 -exec rm {} \;
0 Comments