Symbolic or soft is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. A symbolic or soft link allows you to give a file another name, but does not link the file by inode.
The file which is a soft link to another file will not use the permission of the latter. They always have the permission -rwxrwxrwx.
A soft link contains a text string that is automatically interpreted and followed by the operating system as a path to another file or directory. This other file or directory is called the target. The soft link is a second file that exists independently of its target.
If a soft link is deleted, its target remains unaffected. If a soft link points to a target and sometimes target is moved, renamed or deleted but continues to exist and still points to the old target, now a non-existing location of file.
Symbolic or soft link pointing to moved or non-existing targets are sometimes called broken, orphaned, dead or dangling.
To create a soft link called sft.file that points to a file called name.file. Ex:
$ln -s name.file sft.file
The file which is a soft link to another file will not use the permission of the latter. They always have the permission -rwxrwxrwx.
A soft link contains a text string that is automatically interpreted and followed by the operating system as a path to another file or directory. This other file or directory is called the target. The soft link is a second file that exists independently of its target.
If a soft link is deleted, its target remains unaffected. If a soft link points to a target and sometimes target is moved, renamed or deleted but continues to exist and still points to the old target, now a non-existing location of file.
Symbolic or soft link pointing to moved or non-existing targets are sometimes called broken, orphaned, dead or dangling.
To create a soft link called sft.file that points to a file called name.file. Ex:
$ln -s name.file sft.file
No comments:
Post a Comment