2.11.7. Symbolic links

A symlink is a special file containing the address of another file that opens when a symbolic link is accessed. Such a link can be used to organize access to one directory from several sites, without creating copies of it. Symbolic links can point to a directory or file.

You can create a symbolic link using:

You can create a symbolic link using the command ln after connect to the server via SSH:

It is recommended to specify the full path to the file and to the link.
ln -s файл_source file_URL

For example creating a symbolic link named store cataloged www, the file and link are on the path /home/example/example.com/:

ln -s /home/example/example.com/www /home/example/example.com/store