| 
 
  
  
  
  
  
  
 [old 
presentations][old FAQs]
 |  | How to find the Windows location of a Linux fileSuppose you have a Linux file location such as: /datafiles/bigproject/smallerproject/foo/bar.txt  and you wish to open the file on a Windows machine.  To do so, you must know the location of the file according to the Windows network file system, not the Linux file system location.  To discover this: Log into a Linux machine.
Type df. The results should look something like: Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hde1               100000     25000     75000  25% /
/dev/hde3              1000000    250000    750000  25% /usr
      ... (more listings here) ...
someserver:/files/bigproject/
                      10000000   2500000   7500000  25% /datafiles/bigproject
otherserver:/otherfiles/software/rpms/linux
                       1000000    250000    750000  25% /datafiles/rpms
      ... (more listings here) ...
 where the important lines are in bold face.
From the df information we can see that /datafiles/bigproject is a share on the someserver machine in the /files/bigproject/ directory. Currently the convention seems to be that the Windows shares are made at the first subdirectory level (e.g. bigproject is a share on someserver).  To access the desired file on Windows, navigate to: \\someserver\bigproject\smallerproject\foo\bar.txt Similarly, if we wished to access the Linux file /datafiles/rpms/mycoollinuxapp.rpm from Windows, we would look at \\otherserver\software\rpms\linux\mycoollinuxapp.rpm 
 |