How to create hardlinks and softlinks on files?

Answers were Sorted based on User's Feedback



How to create hardlinks and softlinks on files?..

Answer / 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

How to create hardlinks and softlinks on files?..

Answer / manish

softlink creates another inode in the filesystem but hard
link just increases the reference count of the existing
inode

Is This Answer Correct ?    10 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

Who command in unix?

0 Answers  


what does a process mean?

7 Answers   Infosys,


What is the basic difference between unix and windows operating systems?

43 Answers   Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,


distinguish between interrupts and exceptions?

2 Answers   Infosys,


How do I search for text in vi?

0 Answers  






What is the size of time_t?

0 Answers  


what is the function of grep command?

4 Answers  


how will you convert a general file to a hidden file?

4 Answers  


Is it inbetween or in between?

0 Answers  


What is {} in find command?

0 Answers  


How do you execute a UNIX command in the background?

6 Answers  


fork in unix ?

4 Answers   BFL,


Categories