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!

NFS Pb

Status
Not open for further replies.

KhB

Technical User
Feb 6, 2001
11
0
0
FR
Hi,

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?


Thanks for your help

KhB
 
Hi KhB,

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.

pgs
 

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.

Thanks

KhB


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top