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

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

0 Answers  


What is unix command line?

0 Answers  


How does a user get the current date, time in UNIX?

6 Answers   IBM,


What is grep command in unix with examples?

0 Answers  


what are wild cards?

2 Answers  






Name the general commands in using unix os for a beginner?

0 Answers  


What is a command and examples?

0 Answers  


distinguish between user mode and kernel mode?

4 Answers   Infosys,


Who wrote grep?

0 Answers  


What is the nmap command?

0 Answers  


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

4 Answers   Infosys, Nikhil Construction,


what are processor execution levels and priorities?

2 Answers   Infosys,


Categories