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

what is the difference between "cron" command and "at" command?

5 Answers  


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

0 Answers   Epsilon,


Give Command that will change the name of a directly from paypal to eBay

3 Answers   Alcatel, IBM,


What is the use of find command in unix?

0 Answers  


How do I find previous commands in unix?

0 Answers  






What is command substitution?

0 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


Who invented grep?

0 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


What is grep in bash?

0 Answers  


What is pid?

4 Answers  


Describe the zip/unzip command using gzip.

0 Answers  


Categories