How to create hardlinks and softlinks on files?

Answer Posted / vijayta

ln command is used to create links in Unix
For HardLinks:-
ln <source> <name oflink>
For SoftLink:-
ln -s <source> <linkname>

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to find a file?

804


What is grep short for?

738


what is the advaantage of each user having its own copy of the shell?

2293


Is it inbetween or in between?

795


Which unix command to make a new directory?

795


What is the difference between cat command and more command?

793


How do you repeat a command in terminal?

832


What is {} in find command?

776


How do I use nslookup?

757


What is the behavioural difference between cmp and diff commands?

879


How can we use grep command in unix?

833


What is difference between grep and find command in unix?

829


Explain command to show the space allocation of files?

831


What does touch command do in unix?

974


What is the command to view process running?

797