what are soft links and hard links, and differentiate them.
Answers were Sorted based on User's Feedback
Answer / rahmad
soft link :
we can create soft link by using #ln -s command
we can create soft link,if the source file doesnt exist.
If the source file delete,we cannot access the content.But
the link exist.we can create a link file which is belong to
another file system,another directory.
Soft link doesnt share the inode number.if u issue ls -l
command l in the first column display the file is a soft
link.
Hard link:
#ln <source file> <link>
we cannot link the file,if the file doesnt exist.
we can link the file with in a directory.
if the source file delete,we can view the content of the
link file..
Hd share the inode number.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / venus
hard link will be created within the file system and both
have same inode, it is created by using ln command
syntax (ln source destination)
softlink is created across the file system have different
inodes created across the file system,created using
ln -s source destination
if source file is deleted destination will not be executed
detination contains only source path,source and destination
size may be differ from each other
| Is This Answer Correct ? | 3 Yes | 0 No |
I want to Know how many LUNs are in my Solaris10 server as well as NIC cards ?
whaat is raid levels
how will you start VCS service? What are the configuration files in VCS?
benifits of SMF over LRC
how to recover boot-block, if it it corrupted. and what happens to the os if it gets corruted.
what r the configuration files for SAMBA and how can u configure samba on network with windows machines
user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it
How to brk the root pwd?
how to determine how many nfs server are there from nfs client
Are kernel parameters tunable during runtime?
in this what is the configuration of .profile file and the other files
without keyboard detection is booting process continue or not?