Hi, guys.
Help me in this situation:
If I execute
# ls /dir/dir2
# cd /dir/dir2;ls
# cd /dir; ls dir2
Too many ways to show the content of /dir/dir2, ok?
A file called abc.txt is showed. But if I type
# ls /dir/dir2/abc.txt
# cd /dir/dir2;ls abc.txt
# cd /dir; ls dir2/abc.txt
The result is:
ls: 0653-341 The file abc.txt does not exist.
I can try rm, find, touch, cp, mv the situation is the same. With the name file, it not works.
To save my soul, I moved the directory (mv /dir/dir2 /dir/dir2.old) and created another with the same name (mkdir /dir/dir2). So, my applicatin is working.
The file abc.txt was moved to dir2.old
Now, to understand wath happened, I apologize your help.
Sorry for my English. I hope, at least, you undestand my problem. ;-)
Luis Henrique Pinho
No Orkut - Unix Brasil
Help me in this situation:
If I execute
# ls /dir/dir2
# cd /dir/dir2;ls
# cd /dir; ls dir2
Too many ways to show the content of /dir/dir2, ok?
A file called abc.txt is showed. But if I type
# ls /dir/dir2/abc.txt
# cd /dir/dir2;ls abc.txt
# cd /dir; ls dir2/abc.txt
The result is:
ls: 0653-341 The file abc.txt does not exist.
I can try rm, find, touch, cp, mv the situation is the same. With the name file, it not works.
To save my soul, I moved the directory (mv /dir/dir2 /dir/dir2.old) and created another with the same name (mkdir /dir/dir2). So, my applicatin is working.
The file abc.txt was moved to dir2.old
Now, to understand wath happened, I apologize your help.
Sorry for my English. I hope, at least, you undestand my problem. ;-)
Luis Henrique Pinho
No Orkut - Unix Brasil