Create Symbolic Links
ln - make links between files
ln
command is used to create a symbolic link. By default ln
creates a hard link, but we can use -s
option to create a symbolic link.
Usage
Adding Symbolic Links
This will create a symbolic link.
Note: -f
option overwrites the exisiting symbolic link.
Adding Symbolic Links Between Directories
This creates a symbolic link link between two directories.
Deleting Symbolic Links
To remove a symbolic link, we can either remove the linked file by using rm
or use unlink
to do the same thing.
Source: phoenixNAP
Last updated