ubeath@DESKTOP:~$ rmdir homebrew
rm:cannot remove 'homebrew':is a directory
ubeath@DESKTOP:~$ rmdir homebrew
rmdir: failed to remove 'homebrew':Directory not empty
ubeath@DESKTOP:~$ rm -d homebrew
rm: cannot remove 'homebrew':Directory not empty
CodePudding user response:
just use "rm -rf homebrew", if it doesn't work try "rm -f homebrew"