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 command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


which script will invoke first ,when /etc/init.d starts

1 Answers  


Enlist some filename manipulation commands in unix.

0 Answers  


How to rename files and folders?

7 Answers   IBM, Oracle,


Give two UNIX kernel parameters that effect an Oracle install

3 Answers   Oracle,






How many bits use for MAC address?

7 Answers   Google,


What is the use of the tee command?

0 Answers  


What is updatedb?

0 Answers  


What do chown command do?

0 Answers  


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


Which command is used to copy files?

0 Answers  


Explain the read, write, and execute permissions on a UNIX directory.

5 Answers  


Categories