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$
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.