My Oracle Support Banner

How To Delete Files with Special Characters (Doc ID 1017669.1)

Last updated on DECEMBER 18, 2023

Applies to:

Solaris Operating System - Version 8 and later
All Platforms


The following document assumes a PATH variable that contains /usr/sbin and /usr/bin.
For commands or files that normally exist outside of these common directories, full paths are specified.
Several occasions exist where a mangled filename prevent them from being deleted by the usual standard rm syntax.

The solution contains some examples of how to deal with the problem.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.