soft link hard link linux code example
Example 1: create soft link in linux
ln -s source_file symbolic_link
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.