$ ./guess_the_languageLinux CLI
Linux CLI · medium · #4

What does cat b.txt print?

echo original > a.txt
ln a.txt b.txt
rm a.txt
cat b.txt
  1. original
  2. Nothing, the file is empty
  3. No such file or directory
  4. The path a.txt
A hard link is a second name for the same inode; the data stays until the last name is removed.
Play Linux CLI ▸