Look at yourself:
[Email protected] ~]#RM--Help usage: RM [options] ... File... Delete (unlink) file. -F,--force removal. Ignore files that do not exist, do not prompt for confirmation-I need to confirm before deleting-I ask for confirmation before deleting more than three files or recursively deleting them. This option is more than-I hints less, but can also prevent most errors from occurring--interactive[=when] The confirmation prompt according to the specified when: Never,once (-I), or Always (-i). Always prompt if this parameter is not added--one-file-when the system recursively deletes a hierarchy, skips all files on the file system that do not conform to the command line arguments--no-preserve-roo No special treatment "/"--preserve-root not allowed to delete "/"(default)-R,-R,--recursive recursively deleting a directory and its contents-V,--verbose detailed display of the steps performed--Help displays this information and exits--When version displays release information and exits by default, RM does not delete the directory. Use--recursive (-R or-R) option to delete each given directory, along with all of its contents. To remove the first character as a"-" file (e.g. "-foo")), use one of the following methods: RM-- -Foo RM./-Foo Note that if you use RM to delete a file, you can usually still restore the file to its original state. If you want to ensure that the contents of the file cannot be restored, consider using shred. Please refer to the bug-[email protected] Report RM error GNU coreutils Project home page://www.gnu.org/software/coreutils/>GNU Software general help: //www.gnu.org/gethelp/>Please refer to //translationproject.org/team/zh_cn.html> Report translation errors for RMTo get the complete documentation, run: info coreutils ' RM invocation '
The RM command for Linux