Create a symbolic link in Linux to a file or a directory path

You wish you didn’t have to copy files and folders twice on your Linux web server, and consistently have to come up with a way to keep the duplicate files or directories synchronized?

A symbolic link in Linux or Unix is a virtual pointer to another directory or file. It acts in all ways as if it were the original file or folder. A symlink will appear in any directory listing (ls -al), and will indicate the original directory or file. All child directories of a symlink directory will inherit the symbolic link’s directory path when accessed through the symlink. Any changes made to the symbolically linked file or directory, will occur in the original actual file or directory, as the symbolic link just points straight to it. Continue Reading