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

Popular posts from this blog

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

drivers - No wi-fi network after install - Ask Ubuntu