How to remove a file named : -sag
-
rm -f -sag
-
rm ./-sag
-
rm -m -sag
-
none
B
Correct answer
Explanation
In Unix/Linux, filenames starting with a dash are interpreted as command options. Using './-sag' provides a path prefix, preventing the dash from being treated as an option flag. The 'rm -f' and 'rm -m' flags are incorrect approaches.