Paths


Some simple information about paths and how they are specified.
Windows & MS-DOS
|
html & ftp
|
Linux & ssh
|
|
Drives in Windows are designated by a drive letter e.g. C: D:
When specifying paths the back slash \ is used
e.g. C:\Program Files
|
Internet browsers and ftp clients use the forward slash e.g.
http://www.zybert.net/
|
Linux does not use drive letters, there is just one unified directory tree with everything beginning at what is called the root directory which is symbolized by a single forward slash /
Note: Linux is case sensitive
A folder, such as the shared folder on the GEM, is /home/Common/Data
/home/wastebasket/ is where the FileArchive is,also /wastebasket will work, as it is a link to /home/wastebasket
|
|
Some Paths in Windows Explorer
\\www\FileArchive\ Windows will try netBIOS names as well as real TCP/IP names (for the bit between \\ and \). When you set-up your network rriginally, you give the server a name (default is 'z1') and a domain name e.g. mylan.lan
The server name is used in two places: 1) For DNS - your server is now called z1.mylan.lan 2) For netBIOS - your server is called Z1
Additionally DNS defines a number of aliases for the server (mail, www, timehost, routehost, smbhost). They are actually mail.mylan.lan, www.mylan.lan etc. so you could connect to \\mail.mylan.lan\FileArchive
But DHCP gives your PC a 'default' domain name 'mylan.lan'. This means that it will try to append this to names like 'www' or 'mail' or 'z1' etc.
So \\www is really \\www.mylan.lan and \\z1 is really \\z1.mylan.lan
'Z1' is only valid if you did not change your default name. www is an alias.
'Z1' is also a valid netBIOS name for your server, it is always set to your TCP/IP server name. www only works because your PC adds .mylan.lan to it.
|