RM(1) >>>>> RM(1)
>>
rm - >>>>>>>>
>>
rm [>>]... >>>>...
>>
>>>>>> GNU >>> rm>rm
>>>>>>>>>>>>>>>>>>>>>>>>
>>>> -I > --interactive=once
>>>>>>>>>>>>>>>>>> -r, -R >
--recursive >>>> rm
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
-f > --force >>>> --interactive=always >>>>>> rm
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>
>> (unlink) >>>>>
-f, --force
>>>>>>>>>>>>>>>>
-i >>>>>>>>
-I >>>>>>>>>>>>>>>>>>>>>>>>>>>
-i
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--interactive[=WHEN]
>> WHEN >>>>>>>>>>>
"never">>>>>"once" (-I)>>> "always"
(-i)>>>>>>> WHEN
>>>>>>>>>>>>
--one-file-system
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--no-preserve-root
>> '/' >>>>>
--preserve-root[=all]
>>>>"/">>>>>>>>>>>"all">>>>>>>>>>>>>>>>>>>>>>>>>
-r, -R, --recursive
>>>>>>>>>>>>>
-d, --dir
>>>>>
-v, --verbose
>>>>>>>>>
--help >>>>>>>>>>
--version
>>>>>>>>>
>>>>>>rm >>>>>>>>>> --recursive>-r
> -R>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> "-">>>>>>>>
'-foo'>>>>>>>>>
rm -- -foo
rm ./-foo
>>>>>>>>> rm
>>>>>>>>>>>>>>>>/>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
shred(1)>
>>
> Paul Rubin, David MacKenzie, Richard M. Stallman > Jim Meyering
>>>
>>>>
GNU coreutils >>>>>>
>>
>>>>>>>
>>
Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU
GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>>
unlink(1), unlink(2), chattr(1), shred(1)
>>>>>>>
>>>>>>>> info '(coreutils) rm invocation'
>
>>>>>>>>> man >>>>>>>>
>> man >>>>>>https://github.com/man-pages-zh/manpages-
zh
GNU coreutils 9.1 2022>9> RM(1)