Access Keys:
Skip to content (Access Key - 0)

How do I create a symbolic link in Athena?

Context

  • A symbolic link is a pointer to another file or directory. It can be used just like the original file or directory.
  • A common use of symbolic links at Athena is to create redirects to /www directories.

Example

User mrhalp has created a page in his /www directory. He would like visitors to use the URL "http://web.mit.edu/mrhalp" rather than "http://web.mit.edu/mrhalp/www".

Rather than have multiple copies of his site, mrhalp can create a symbolic link in the /mrhalp that points to /mrhalp/www/index.html.

Solution

ln -s TARGET-DIRECTORY-OR-FILE SHORTCUT

Ex. (Working directory is /afs/athena.mit.edu/user/m/r/mrhalp/)

athena% ln -s ~/www/index.html index.html

Community

Documentation and information provided by the MIT Community


Last Modified:

July 03, 2016

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
c-web-publishing c-web-publishing Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki