Symbolic link :- Adding and deleting

sysmbolic link

Symbolic link :- Adding and deleting

Symbolic Links refer to a symbolic path indicating the abstract location of another file i.e. symbolic links are files that act as pointers to other files. Symbolic Link is also known as symlink or soft link.

Difference between soft link and hard link is that when symlink is removed the original target stays present. This is the opposite of a hard link which is a reference to the target and so, if the hard link is removed, so is the target.

A symlink can be created like : –

ln -s /path/ linkname where -s means symbolic.

To remove a symlink :-

rm linkname or unlink linkname

Share this post