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. #NAME? C. #NAME? D. -1 E. None of the above

-r
#NAME?
#NAME?
-1 E. None of the above

The correct answer is: B. #NAME?

The rm command is used to remove files from the filesystem. The -r option is used to remove directories recursively, including all files and subdirectories within them. The #NAME? option is used to prompt the user with each filename and a ?, before acting on it. This allows the user to confirm that they want to remove the file before it is actually deleted.

The -1 option is not used with the rm command. It is used with the find command to find the first match of a pattern.

The -r option is a dangerous option, as it can easily lead to data loss. It is important to be careful when using this option, and to make sure that you are only removing the files that you want to remove.

The #NAME? option is a useful option for preventing accidental file deletion. It is a good idea to use this option whenever you are removing files that are important to you.