I know we can do that for files. What about directories?
It seems that cpanel uses that a lot.
Most filesystem do not support hard links on directories. However, you can symlink directories.
You can bind mount a directory in Linux, which functions similar to a hard link from a user's perspective. Here is an example:
This is commonly used for chroot environments, since a symlink is relative the chroot's
In centos, I have tried soft link between directories by
Will show you if you have successfully created link.