'rm is not working and outputs mv: illegal option -- b
I'm using Monterey and ohmyzsh in iterm2 and rm -rf (nor -Rf) is not working and outputs mv: illegal option -- b. What is a good cli way to do this?
Edit: I have used remove in the past to remove files on a MBP. I believe it implicitly calls mv to do the work under the hood. This has since stopped functioning since my last project I have worked on in the past few months. It may have to do with sudo permissions (I dunno), Monterey, or it may possibly have to do with oh-my-zsh. At this point I was just looking for direction to look for an answer to look towards.
Solution 1:[1]
After editing my original question I am coming back to post that command rm -rf file_to_delete works today. It would be nice to know where we could find documentation that explains this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tyler2P |
