command line - How to delete folder with strange name? - Ask Ubuntu
this question has answer here:
i don't know how i've done i've created somehow folder named "-p". i'm trying delete buntu thinking i'm passing -p paremeter.
what can do?
ubuntu server 15.
you can use --
tell rm
(and many other commands including many shell built-ins) not interpret further input command parameters, -p
can interpreted correctly argument instead of "unrecognised option"
rm -- -p
(this safety measure when globbing. might have accidentally created file called -rf
...)
Comments
Post a Comment