Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it
A. -r
B. -x
C. -i
D. -l
E. None of the above
Answer: Option C
Solution (By Examveda Team)
In Unix, the rm command is used to remove files or directories. The -i option prompts the user for confirmation before deleting each file. When this option is used, rm will display the filename followed by a question mark (?), and the user needs to confirm by typing 'y' for yes or 'n' for no.So, -i is the option used with the rm command to prompt the user with each filename and a question mark before acting on it.
Join The Discussion