Quantcast
Channel: Does rm -rf follow symbolic links? - Super User
Viewing all articles
Browse latest Browse all 4

Answer by Jayan for Does rm -rf follow symbolic links?

$
0
0

rm should remove files and directories. If the file is symbolic link, link is removed, not the target. It will not interpret a symbolic link. For example what should be the behavior when deleting 'broken links'- rm exits with 0 not with non-zero to indicate failure


Viewing all articles
Browse latest Browse all 4

Trending Articles