Hands-on task
This task is step 8 of the course “Disks, links and free space”
Resolve a symlink chain
The symbolic link /root/current points to another link, which in turn points to a real directory. Determine the real absolute path that /root/current ultimately leads to and write it to /root/target.txt.
What you'll practise:
- readlink
- -f canonicalization
- symbolic links
- absolute path
- symlink chain