It could have unprintable characters in the name. You can do ls -m, then rename the file.

$ ls -m
mytest1.lis, mytest.lis     , mytest2.lis

$ mv "mytest.lis " mytest.lis



From: "AK" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Subject: how is it possible
Date: Thu, 23 Oct 2003 14:49:24 -0800

This happening with me 3 rd time on this hp box . When I do ls -alt I can see a file in current directory but when I try to open it (vi/cat ) it says no such file or directory . I am same user who created the file . ( no permission problem )

Any idea ??

-ak





/home/ak/myscripts/shell_scr $ ls -alt
total 4
drwxrwxrwx   2 ak       dba             96 Oct 23 14:40 .
-rwxrwxrwx   1 ak       dba            412 Oct 23 14:40 mon_scr
drwxr-x---  10 ak       dba           1024 Oct 13 16:07 ..

 /home/ak/myscripts/shell_scr $ cat mon_scr
cat: Cannot open mon_scr: No such file or directory

 /home/ak/myscripts/shell_scr $ cat ./mon_scr
cat: Cannot open ./mon_scr: No such file or directory

/home/ak/myscripts/shell_scr $

/home/ak/shell_scr $ whoami
ak


_________________________________________________________________
Add MSN 8 Internet Software to your current Internet access and enjoy patented spam control and more. Get two months FREE! http://join.msn.com/?page=dept/byoa


--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mike Killough
 INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to