Symbolic link vs hard link

Luz A. Perdomo
1 min readFeb 6, 2020

--

Symbolic links or soft links.

It is a way to link to a file or directory; it contains the address to the location of the destination file. But does not contain information about the content of a file.

There are created with the command “ln –s”

Hard links

There are created using the command “ln”

The main difference is: if the original file is deleted, a symbolic link will point to nothing, instead the hard list will keep pointing to data even when it is deleted in the archive.

--

--

Luz A. Perdomo
Luz A. Perdomo

Written by Luz A. Perdomo

0 Followers

I’m Lily oWo

No responses yet