Hands-on task
This task is step 5 of the course “Disks, links and free space”
How many hard links a file has
The file /root/report.txt has several hard links (other names for the same inode). Find out how many names in total point to this file and write the number to /root/links.txt.
What you'll practise:
- stat
- hard links
- inode
- link count
- ls -l