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 grep and grep?

0 Answers  


What does this command do? Cat food 1 > kitty

0 Answers  


What does the command '$ls | wc –l > file1' do?

0 Answers  


What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


What do chgrp command do?

0 Answers  






Explain the steps that a shell follows while processing a command.

0 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


How do I run a bash script?

0 Answers  


what are wild cards?

2 Answers  


How do I find previous commands in unix?

0 Answers  


What is an Unix command to convert HEX value to ASCII value located in any flat file.

2 Answers  


What does #!/ Bin sh do?

0 Answers  


Categories