?
Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it
Answer & Solution
Correct Answer:
Option
C
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.
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
Login to post a comment or share your explanation.
Login