Linux Interview Questions & Answers
Real questions asked in Linux SysAdmin, DevOps, and RHCSA-track interviews — filesystem, permissions, systemd, networking, storage, and troubleshooting.
Interview Prep
All 21 Questions
A hard link is a second directory entry pointing to the same inode — it shares the same data blocks, has no independent existence from the original file, can't cross filesystems, and can't link to a directory. A symbolic link is a separate small file that stores a path to the target; it can cross filesystems and link to directories, but breaks if the target is moved or deleted (a 'dangling' link). Check inode numbers with `ls -i` to confirm two names are hard-linked to the same file.