How do hard links and symbolic links differ?
Interactive Practice Mode
Formulate your thoughts or take notes before revealing the model solution.
Saved automatically
Model Answer & Deep-Dive Explanation
A hard link is another directory entry referring to the same underlying inode on a filesystem. Removing one name does not remove the data while other links or open references remain. A symbolic link is a separate object containing a target path, which can refer across filesystems and can become dangling if the target disappears. Ordinary hard links cannot cross filesystem boundaries and are generally restricted for directories. Tools may follow or preserve symbolic links differently, so choose options carefully for backups and recursive operations.
Related Questions in Unix / Linux
Unix/Linux administration interview questions
Advanced level • 828 views
Linux admin interview questions
Intermediate level • 744 views
Nix Application Programming
Intermediate level • 701 views
Unix/Linux programming interview questions
Intermediate level • 569 views
Php and MySQL Important Questions
Advanced level • 508 views