ln flags & options

-s, --symbolic

Make symbolic links instead of hard links.

ln -s /path/to/target linkname
ln -s ../shared/config.yml config.yml

-f, --force

Remove existing destination files.

ln -sf /usr/local/bin/python3 /usr/local/bin/python
ln -sf new-target existing-link

-n, --no-dereference

Treat symlink to directory as a normal file.

ln -sfn /opt/app-v2 /opt/app-current

-v, --verbose

Print name of each linked file.

ln -sv /path/to/target linkname

-r, --relative

Create symbolic links relative to link location.

ln -sr /opt/data/config.yml /etc/app/config.yml