the difference between a soft link and a hard link?

Answer Posted / linuxdemon

soft link is like shortcut.so if you delete the softlink
file, the original file wont get deleted.

Hard link is like real copy of the file.so if you delete the
hardlink file, the original file will be deleted.

ln filename hardlinkfilename
ln -s filename softlinkfilename

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a bash script?

577


What do know about tee command?

597


What is the difference between cat and more command?

623


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

636


What are the dos commands?

642






What is unix command line?

602


What is the use of the command 'ls -x chapter[1-5]' ?

659


Which command is used to find whether the system is 32 bit or 64 bit?

627


How do I use grep to search for a file?

578


What do chgrp command do?

586


Enumerate some of the most commonly used network commands in unix?

612


how to sort the content of the file based on numeric values

1244


What does this command do? Cat food 1 > kitty

974


What is the first character of the output in ls l command?

627


What is .sh file?

614