RM无法正常工作,输出MV:非法选项-B
我在iterm2中使用Monterey和Ohmyzsh,RM -RF(NOR -RF)不起作用,输出MV:非法选项 - b。什么是一个很好的CLI方法?
编辑:我过去曾使用删除来删除MBP上的文件。我相信它隐含地要求MV在引擎盖下进行工作。自从我在过去几个月中我从事的最后一个项目以来,这已经停止运作。它可能与sudo许可(I Dunno),蒙特雷有关,或者可能与Oh-my-Zsh有关。在这一点上,我只是在寻找方向来寻找答案。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在编辑了我的原始问题之后,我将回到发布该命令
rm -rf file_to_delete
今天工作。很高兴知道我们可以在哪里找到解释这一点的文档。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.