Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ls: 0653-341 The file ./dir does not exist.

Status
Not open for further replies.

oray

IS-IT--Management
Nov 8, 2004
16
0
0
US
guys iam getting this message.but dir is in home.i can see it
when i do
1.cd home
2.ls
.TTauthority AIX-SysInfo-1.0
.Xauthority AIX-SysInfo-1.0.tar
.dt dir
.dtprofile file.txt
.profile root
.sh_history s1.txt
.wmrc t1.pl
 
You probably have unprintable letters in the file/directory name. Try

Code:
ls -l | cat -ev

That should show you any hidden characters. Then you can use a suitable wildcard to isolate the file for whatever operations you want to perform with it.

Post the output of the above command, if you need more help with it.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
# ls -l | cat -ev
ls: 0653-341 The file ./vinay does not exist.
ls: 0653-341 The file ./test does not exist.
ls: 0653-341 The file ./dir does not exist.
ls: 0653-341 The file ./tets does not exist.
total 86$
-rw------- 1 sri staff 75 Oct 25 18:23 .TTauthority$
-rw------- 1 sri staff 101 Oct 25 18:23 .Xauthority$
drwxr-xr-x 10 sri staff 512 Oct 25 18:23 .dt$
-rwxr-xr-x 1 sri staff 3970 Oct 25 18:23 .dtprofile$
-rwx------ 1 sri staff 264 Nov 03 17:57 .profile$
-rw------- 1 sri staff 1498 Oct 26 13:14 .sh_history$
-rw-rw-r-- 1 root system 3 Oct 25 18:23 .wmrc$
drwxr-xr-x 2 sri staff 512 Jul 03 2001 AIX-SysInfo-1.0$
-rw-r----- 1 sri staff 30720 Oct 26 12:54 AIX-SysInfo-1.0.tar$
-rw-r--r-- 1 root system 0 Nov 04 19:43 file.txt$
-rw------- 1 root system 1726 Oct 28 12:09 root$
-rw-r--r-- 1 sri staff 245 Oct 26 12:07 s1.txt$
-rw-r--r-- 1 sri staff 364 Nov 04 19:43 t1.pl$
-rw-r--r-- 1 sri staff 328 Oct 26 11:38 t2.pl$
-rw-r--r-- 1 sri staff 143 Oct 26 12:04 t3.pl$
-rw-r--r-- 1 sri staff 345 Oct 26 12:36 t4.pl$
 
i just created a .txt file and iam unable to acees it in /home.
 
Was the listing in your original post complete?

Post the output of "ls | cat -ev", if you can.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
here is the output rod
thanks much
# ls | cat -ev
.TTauthority$
.Xauthority$
.dt$
.dtprofile$
.profile$
.sh_history$
.wmrc$
AIX-SysInfo-1.0$
AIX-SysInfo-1.0.tar$
dir$
file.txt$
root$
s1.txt$
t1.pl$
t2.pl$
t3.pl$
t4.pl$
test$
tets$
vinay$
#
 
Okay, so it's not a filename problem.

That leaves filesystem corruption as the top suspect. Are you the admin?



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
It can also be an issue with your disk space...
Check with df -ef that you got some free space on your filesystem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top