Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个符号链接,并尝试使用 rm /WebRoot它删除它,但我收到错误Is a directory,但如果我尝试rmdir /WebRoot我收到错误Not a directory。
rm /WebRoot
rmdir /WebRoot
有谁知道这里发生了什么?
您需要使用rm foo没有尾随斜杠。
rm foo