soft links in linux code example
Example 1: how to create symlink in linux
ln -s <location_of_file1> <desired_location_of_symlink>
Example 2: hard vs soft links linux
A softlink is like a hyperlink and a hardlink is a mirrorcopy of the file.
If you change the source file or the hard link file then the other file will syncronise with it.