O'Reilly logo
  • Rodrigo Alfaro thinks this is interesting:

What is the safe option to remove a symbolic link to a directory?


Cover of Red Hat RHCSA/RHCE 7 Cert Guide: Red Hat Enterprise Linux 7 (EX200 and EX300)


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