Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: strange ls problem
> [1] -rw-rw-r-- 1 llu dba 0 Jan 24 15:23
Try 'ls -i'. It's possible to have a filename of a bunch of spaces.
EG:
$ echo > ' '
> [2] read ohome
> [3] if [
> -rwxrwxr-- 1 jcsora dba 17696 Jan 22 09:04
> b_begin
> -rwxrwxr-- 1 llu dba 11629 Jan 19 10:03
> back_dbbackup
This I would attribute to a misbehaved script. (Probably missing a quote or something) It's easy to do. ls -i will give you then inode number for these files. You can remove them then with the following:
find . -inum INODE_NUMBER_FROM_LS -xdev -exec rm {} \;
HTH
Shawn M Ferris
Oracle DBA - Time Warner Telecom
Received on Thu Jan 25 2001 - 14:22:50 CST
![]() |
![]() |