ln

ln - create a link between files.


Create a hard link:

ln file.txt file_link.txt

Create soft or symbolic link:

ln -s file.txt file_link.txt

Overwrite the existing destination file:

ln -f -s file.txt file_link.txt

Create backup of existing destination file:

ln -b -s file.txt file_link.txt

Create links in other directory:

ln -s file.txt -t /home/james/shortcuts/