-
tozhuhello all, there is a file named -s , how can I delete it?
-
danmcdtozhu: `rm -- "-s"`
-
danmcdPOSIX optargs must stop parsing them after a "--".
-
danmcdAlternatively "rm -i *s*" and only answer "y" to the file you wish to delete.
-
tozhudanmcd: thank you very much