本手册页记录 GNU 版本的 rm。rm 移除每一个指定的文件。默认情况下,它不删除目录。
如果指定 -I 或 --interactive=once 选项,且给出了三个以上的文件或指定了 -r, -R 或 --recursive 选项,则 rm 将提示并询问用户是否继续进行整个操作。如果未得到用户的确认,则整个命令将被中止。
否则,如果一个文件不可写、标准输入是一个终端且未给出 -f 或 --force 选项,或 --interactive=always 选项被给出, rm 将提示用户是否删除该文件。如果未得到用户的确认,则该文件将被跳过。
由 Paul Rubin, David MacKenzie, Richard M. Stallman 和 Jim Meyering 编写。
GNU coreutils 的在线帮助: <https://www.gnu.org/software/coreutils/>
请向 <https://translationproject.org/team/zh_CN.html> 报告翻译错误。
Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh