I have a NFS mounted file system on my machine solaris
from AS400, when I try the command in this directrory I didn't get my file which can I list in AS400, but if I did
ls name_of_the_file I got it, I don't know what's going on?
If I understand your dilema, this should help...
Even though you are in the directory which contains the file, shown by 'ls <filename>', you still need to tell the shell where the file is by:
1) typing ./<filename>
( the ./ tells it to look in the directory you are in)
2) or adding the nfs mount point to the PATH variable in
your shell environment file. (.profile, .cshrc etc)
3) or typing the absolute path from root to the file.
ex: /<nfsmountpoint>/<filename>
One more little ditty:
Make sure that if it is a binary, you have executable rights to the file.
Thanks for your answer, my problem is to list my directory
mounted on NFS, I don't have the file's complet name.
I just know the first initials characrters exp: ls ABC*
because the complet name is automatiquely generated.
or ls * or ls I didn't see the file ! the file in acscii format not a binary one.
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.