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

How to setup Disk space as well as memory in solaris10?

4 Answers  


What is the use of touch command in there?

1 Answers   Accenture,


how will u execute a file in unix

8 Answers   QA,


What Command will remove a Directory in UNIX?

8 Answers   IBM,


Give the command to display space usage on the UNIX file system.

16 Answers  


What is command substitution?

0 Answers  


Write a command to kill the last background job?

0 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


what is the difference between commmands cmp and diff?

9 Answers   iNautix,


A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me

7 Answers   CTS,


29. How to display top 10 users Who | head -10 | wc –w

4 Answers   TCS,


What is in grep command?

0 Answers  


Categories