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

Is grep faster than awk?

0 Answers  


What is the pipe command?

0 Answers  


what is the cmd to display the last exit status in UNIX?

5 Answers   MEIT, Syntel,


What is the general format of unix command syntax?

2 Answers  


what is telnet?

6 Answers  


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,


Can you enlist some commonly used network commands?

0 Answers  


Which unix command to make a new directory?

0 Answers  


How can we use grep command in unix?

0 Answers  


What is the different between UNIX command and UNIX shell script?

2 Answers  


What is ctrl d?

0 Answers  


Describe the zip/unzip command using gzip.

0 Answers  


Categories