Operating System - HP-UX
1833758 Members
2750 Online
110063 Solutions
New Discussion

Strange unremoveable folder

 
SOLVED
Go to solution
yyghp
Super Advisor

Strange unremoveable folder

I got a strange folder:

drwxr-xr-x 2 oracle oinstall 96 Oct 1 14:56 ewfewfwfwefwe

I can't remove it or check things inside:

# rm -R ewfewfwfwefwe
rm: ewfewfwfwefwe non-existent
# cd ewfewfwfwefwe
sh: ewfewfwfwefwe: not found.

What can i do now ?
Thanks!
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Strange unremoveable folder

Hi,

This may have some control-characters that are not visible. I would do something like this.

#mkdir junk
#ll -d *ewf*
(make sure this directory appears)
#mv *ewf* junk
#rm -rf junk

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
RAC_1
Honored Contributor

Re: Strange unremoveable folder

ll -d *ewf*|vis

What it gives?

Anil
There is no substitute to HARDWORK
Sundar_7
Honored Contributor

Re: Strange unremoveable folder


# ls -ld *ewfe* | cat -v

I would guess you have some control characters prefixed/suffixed to the directoy name.
Learn What to do ,How to do and more importantly When to do ?
yyghp
Super Advisor

Re: Strange unremoveable folder

Thanks Sridhar Bhaskarla !
Yours works !

Hi RAC, here's what i got:

# ll -d *ewf*|vis
drwxr-xr-x 2 oracle oinstall 96 Oct 1 14:56 oracle\b\b\b\b\b\bewfewfwfwefwe