Symlinks are used a lot in Linux- and Unix-based systems so you may be wondering as to what exactly a “symlink” is. If you have Linux VPS Hosting and you use SSH, you’ll often find many files in the file structure are symlinks.
What are symlinks used for?
Symlinks are a specific type of file that has a reference to a physical location on the Linux server hard drive – such as another file or directory that exists on the machine’s hard drive. The most common symlink you’ll likely come across when using an FTP client is the www and public_html directories. The www directory is a symlink to the public_html physical directory. So this means any files or directories uploaded to the www folder is the same as doing so directly in the public_html folder. The two that seemingly look like two separate folders are merely just one.