> And sudo rm -rf /dir returned a message indicating it couldn't find the > directory, even when I was running the command from within the parent folder > and could see it there.
That's your issue. If you were *in* a directory which you saw the target for deletion, then `rm -rf /dir` is wrong as you asked rm to look in the root for it.

