CP to copy the source files and directories. The general format is as follows:
CP [Option] source file or directory target file or directory.
Option description:
-A: used to copy a directory. recursively copy all the files and subdirectories in the directory to the target location to retain the file links and attributes. Use-DPR
-R: Copy files and subdirectories in the directory
-F: if a file with the same name already exists, it is overwritten and no prompt is given.
-I: In contrast to-F, a prompt is displayed when the file is overwritten for the user to select.
You can use CP -- help to view other options.
RM: delete a file (a directory is also a file) in the following format:
Rm [Option] File List
Option description:
-F: ignore non-existing files and do not prompt
-I: Interactive Deletion
-R: recursive Deletion
MV, rename a file or directory (if the file name is the same as the target path, it means renaming), or move it. The format is as follows:
MV [Option] Source Target
Option description:
-I: indicates an interactive operation. A prompt is displayed for risky operations.
-F: non-interactive operation.
========================================================== ==========
I believe you can see that-I is an interactive operation, while-F is a non-interactive operation.