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 |
what are the questions that will be asked for a 3yrs experienced candidate in solaris system admin. how to face first hr round if one puts fake experience of 2or 3 yrs in solaris system admin. please respond with an opt answer. thank you in advance...
What is the use of Flar command in solaris
How will u give a write permission to user inthe group when all other users in that group have only read permission.?
what is zone configuration file?
What is a layered volume? how to create it using vxmake?
how u will recover the disk group
how to kill the process
how can u create aggregate
how can u crete snapshot
which is the fast SPARC or Intel ? and why?
How to grow a volume?
how to check packets transmission statistcs b/w servers..?