VPS
Symbolic links are similar to aliases, in the sense that they are shortcuts that link to a specific file or folder. A symbolic link created at the command line allows a linked object in the file system to point to an original object in a different location. In this way, symbolic links behave much like an alias d.
Dedicated
WP Professional
Download bigfoot motherboards driver. WP Professional Plus
A symbolic link creates a file in your directory and acts as a shortcut to a file or folder.
For example: I have a directory- let's say example.com. However, I want a shortcut to another directory within the example.com. To do this, you would create a symbolic link.
The symbolic link shows up as a link within the directory. It will appear with a curved arrow icon to its left.
After it's been created, you can click on the symbolic link's file path in the directory to quickly navigate to a new location.
Creating a Symlink in the ACC
Download corel sound cards & media devices driver. WP Enthusiast accounts do not have an accessible file system in the ACC, so this tutorial cannot be used with WP Enthusiast accounts.
You can create a symbolic link directly in the Account Control Center (ACC). To do so, follow these steps:
- Log in to your Account Control Center (ACC)
- In the left sidebar, click Files
- In the drop-down, click the directory you wish to visit. You can choose between:
- Home
- Web
- FTP
- Once in your directory of choice, navigate to the location where you wish to place the symbolic link.
For example, if you want your symbolic link in a sub directory named Example, then you should open the Example directory before completing the next steps. - In the top navigation bar, click the Create Link button
- On the next page, double check the Current Directory file path and make sure it is correct. This is the file path to the location where the symbolic link will be placed.
- Next, fill out the fields:
Source Filename This should be the file path to the new location you want the symbolic link to link to. Link Filename This is a nickname for the symbolic link so that you can easily identify it. - Once the fields have been filled out, click the Make Symbolic Link button
The new symbolic link will appear in the directory where you placed it.
Creating a Symlink via SSH
If you prefer to use terminal or command prompt to create a symbolic link, you can do that, too. To do so, follow these steps:
- Use ls and cd to navigate to the directory where you would like the symbolic link to be placedHelpful Hint
lswill return a list of files in your current location
cd [file name/file path] will take you to the file or file path you entered.
For more information about ls and cd, see this beginner resource. - Once there, run the command:
Replace [source-filename] with the file or folder you want to link to and the [link-filename] with what you want to name the link.
For example, this could look like:
This will create a symbolic link in your current location.
Was this article helpful?
Related Articles
Symbolic links are similar to aliases, in the sense that they are shortcuts that link to a specific file or folder. But symbolic links are often more useful than aliases: For example, if you put an alias in your Dropbox folder, it will sync just the alias file; put a sym link in that folder, and Dropbox will sync the original file that link points to. And aliases won’t work in OS X’s Unix-based tools, including Terminal; sym links will.
The Finder makes it easy to create aliases (Control-click, select Make Alias), but not to make symbolic links. For that, you usually have to turn to Terminal. We’ve shown you one way to create sym links within the OS X GUI, using an AppleScript application. But MacOSXHints reader RickoKid came up with another way, using a shell script and Automator.
Symbolic Linker Download
Start by opening Automator and selecting Service from the list of templates. Next, select Files or Folders from the Service Receives Selected drop-down and Finder.app from In. Drag the Run Shell Script action from the Utilities section of the Actions library. Select As Arguments from the Pass Input menu, then paste the following script into the Run Shell Script window (replacing any text that might be there already):
Below that, drag the View Results action from the same library. Save the workflow (it should automatically be added to ~/Library/Services), giving it whatever name you want (Create Sym Link, for example). That done, you should be able to Control-click on a file in the Finder, then select your service from the Services submenu; a sym link (with the word link
appended to the filename) should appear in the same folder as the original file.
If you don’t want to do all that copying-and-pasting, you can download the service and save it directly to the Services folder. You could, of course, also make that earlier AppleScript we told you about into a service. Or you could download a dedicated app like SymbolicLinker () to do the job.