Advertisements
Skip to content

What IS The Difference Between The Hard Link And Soft Link

Our Score
Click to rate this post!
[Total: 0 Average: 0]

In This Tutorial We Are Going To Learn What Is Hard Link And Soft Link And What Is The Difference Between Hard Link And Soft Link

It Is Very Easy To Understand What IS Hard Link And What Is Soft Link

Just Follow These Simple Steps

Step-1 What IS Hard Link ?

Hard Link Is Used For To Link The 2 Or More Multiple Files

Step-2 What IS Soft Link ?

Soft Link Is Used For To Link The Both File And Folder

Step-3 How To Link File In Hard Link

Here IS The Command To Link The File In Hard Link

First We Have To Create File

#vim file.txt

#cat file.txt

#ln file.txt /root/Desktop /hacking.txt

#ls

Now If You Change In One File Then It Will Automatically Changed In Other File Also

Step-4 How To Link File And Folder In Soft Link

Here IS The Command To Link The File And Folder Both  In Soft Link

First We Have To Create Folder

#mkdir ccna

#cd ccna

#vim a.txt

#cd

#ln -s ccna /root/Desktop /linux

#cd Desktop

#ls

#cd linux

#ln -s ccna linux

#cd linux

#touch {1..10}.txt

#pwd

#cd ..

#cd ccna

#pwd #ls -li

Now Here We Have Create 10 Text File in linux Folder And It Will Automatically Also Shown In ccna Folder Also

 

So This Is All What Is Hard Link And Soft Link And  How To Configure Hard Link And Soft Link And What Is The Difference Between Hard Link And Soft Link

Advertisements

Leave a Reply

Discount Offer

Now Get 50% Discount

On Cyber Security Training                                                       Notes  

Click here  To Purchase

%d bloggers like this: