What does cat b.txt print?
echo original > a.txt ln a.txt b.txt rm a.txt cat b.txt
original- Nothing, the file is empty
No such file or directory- 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 ▸