Hands-on task
This task is step 6 of the course “Disks, links and free space”
Clean up broken symbolic links
The /root/links directory is littered with symbolic links: some point to existing files, and some are "dangling" — their target was deleted. Delete all broken (dangling) symbolic links without touching the working links and regular files.
What you'll practise:
- symbolic links
- find
- -xtype
- broken links