debian - Need to delete a file -ggdb -


so kinda messed managed create file named -ggdb in home directory on debian distribution. have tried surrounding " make string literal (like so: rm "-ggdb") following error: rm: invalid option -- 'g'...

when try rm "\-ggdb" following error:

rm: cannot remove '\\-ggdb': no such file or directory 

any ideas?

try this:

rm -- -ggdb rm ./-ggdb 

Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -