I, by mistake, have created a new project directory with cargo new communicator --bin
, instead of cargo new communicator --lib
.
Then, I tried to remove the entire directory with rmdir --ignore-fail-on-non-empty communicator
. This command doesn't generate an error in the next line, but when I look to see if it's removed it's still there!
I wonder why I cannot remove a project directory in this fashion.
I tried both on Atom's Terminal Window and MX Linux Xfce Terminal, but the same result... Also, just in case I performed the same rmdir
command as a root, but in vain.
Am I fundamentally doing something wrong here?