What is an inode?
The inode is used to store basic information about a file in a linux filesystem. It includes
What is the difference between a hard link and a symbolic link?
How can you identify a symbolic link when using the ls -l command?
A symbolic link has a lower-case L as the first character in the permission string. For example, lrwxrwxrwx.
Which type of link is similar to shortcuts in Windows?
Symbolic links are similar to shortcuts in Windows
Which utilities can you use to create links?
Utilities to create links include ln and cp.
What is a hard link?
A hard link is a duplicate entry in the file system that points to a specific piece of data on the disk drive.
What are the features of a hard link?
What is a symbolic link?
A symbolic link (also known as a soft link) is a file system entry that points to another file system entry, which in turn points to a valid piece of data.
What are the features of a symbolic link?
What does the command ln do?
ln creates links to files. With no options, creates hard links.
What does the command ln -s do?
ln -s creates a symbolic link to a file or directory.
What does the command ln -b do?
ln -b creates a backup of a file.
What does the command ln -i do?
ln -i determines the inode for hard or symbolic links.
What does the command cp -l do?
cp -l creates hard links to the files being copied rather than copying the files.
What does the command cp -s do?
cp -s creates symbolic links to the files being copied rather than copying the files.