What are links and symbolic links in UNIX file system?
A link is a pointer or reference to another file. A directory in UNIX has a list of file names and their corresponding inodes. A directory entry can have an Inode pointing to another file.
This is a hard link. When a hard link is made, then the i-numbers of two different directory file entries point to the same inode.
A symbolic link or a soft link is a special type of file containing links or references to another file or directory in the form of a path. The path may be relative or absolute. To create a symbolic link, following command is used:
Post a Comment