Warning: Creating default object from empty value in /home/customer/www/gavinsoorma.com/public_html/wp-content/themes/specular/admin/inc/class.redux_filesystem.php on line 29
Unix – remove file with unseen characters | Oracle DBA – Tips and Techniques
Perth, Australia
+ (61) 417713124

Unix – remove file with unseen characters

  • Posted by Arjun Raja
  • On June 25, 2009

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 {} \;



Leave Reply

Your email address will not be published. Required fields are marked *