What is the difference between Soft Link and Hard Link in UNIX in OS? - ProProfs Discuss
Advertisement

What is the difference between Soft Link and Hard Link in UNIX in OS?

What is the difference between Soft Link and Hard Link in UNIX in OS?

Change Image    Delete

Asked by R. Barnes, Last updated: Nov 16, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

F. Daniel

F. Daniel

I work for a California based MNC.

F. Daniel
F. Daniel, Content Optimization Executive, Diploma in Journalism, California

Answered Jul 15, 2019

Soft links and hard links are two types of links used in the UNIX operating system. Links in the UNIX operating system are used to create a kind of connection between a file and the data inside the disk. The rings serve more like a reference that points to another folder. However, soft links and hard links are different from each other, although they perform the same function. The weak link is a type of link in UNIX OS which can be used to create a connection between a filename and the actual data.

Soft links and hard links are two types of links used in the UNIX operating system. Links in the
It provides a shortcut to the original file, and it allows you to have file content intact even after you have deleted the link. A hard link is also a type of link in UNIX OS. It looks like the original file and serves as a pointer to the original file. Most times, when you use a hard link is the same as accessing the original file. The hard link points directly to the file location, but the soft link points to the directory or another folder.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.