本手冊頁記錄 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