Thursday, December 19, 2019

Delete a file that begins with "-"/ hyphen, dash or minus on Linux

Use the following command:

rm --  -filename

No comments:

Post a Comment