9

Symbolic links are useful for storing things in a separate place from where they appear to be.

In computing, a symbolic link is a type of file that contains a reference to another file or directory. This affects pathname resolution.

How can I create one in elementary (both GUI/Terminal)?

1
  • I can't edit due to the lack of six characters for me to put in... but it's elementary, not Elementary.
    – RolandiXor
    Jul 5, 2015 at 4:00

2 Answers 2

11

The latest version of Pantheon Files on freya allow you to drag and drop files by right-clicking on them.

When you drop it a contextual menu appears letting you copy it, move it, or create a link. To manually create it with the terminal, just follow Huey's steps.

4

To create a symbolic link from /home/huey/galactica to /usr/local/pegasus, meaning that the galactica directory in the home folder points to the pegasus folder:

ln -s /home/huey/galactica /usr/local/pegasus

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.