What is the safe option to remove a symbolic link to a directory?
- Chapter 3. Essential File Management Tools
- from Red Hat RHCSA/RHCE 7 Cert Guide: Red Hat Enterprise Linux 7 (EX200 and EX300)
- Publisher: Pearson IT Certification
- Released: September 2015
Remove it as a file, not as a directory (DO NOT USE -r of -f option as it will delete the linked directory content) rm linkname