www.digitaldaze.com
How do I create links from file to file?

" How do I create links from file to file? For example, I want to have index.html point to home.htm. "

This is accomplished in UNIX by using the ln command. To create a link from "fileA.html" to "fileB.html":

ln -s fileB.html fileA.html

Therefore, using the example from the question above, you would type:

ln -s home.htm index.html

Type "man ln" at the command line of your virtual server for more information on the ln command.

 

[Legal Notice]
http://www.digitaldaze.com