BirdsHover

          ——路漫漫其修遠兮,吾將上下而爬樓梯!

            BlogJava :: 首頁 ::  :: 聯系 :: 聚合  :: 管理 ::
            21 隨筆 :: 8 文章 :: 34 評論 :: 0 Trackbacks
          用法:rm [選項]... 文件...
          Remove (unlink) the FILE(s).

            -f, --force           ignore nonexistent files, never prompt
            -i                    prompt before every removal
            -I                    prompt once before removing more than three files, or
                                    when removing recursively.  Less intrusive than -i,
                                    while still giving protection against most mistakes
                --interactive[=WHEN]  prompt according to WHEN: never, once (-I), or
                                    always (-i).  Without WHEN, prompt always
                --one-file-system  when removing a hierarchy recursively, skip any
                                    directory that is on a file system different from
                                    that of the corresponding command line argument
                --no-preserve-root  do not treat `/' specially
                --preserve-root   do not remove `/' (default)
            -r, -R, --recursive   remove directories and their contents recursively
            -v, --verbose         explain what is being done
                --help     顯示此幫助信息并退出
                --version  輸出版本信息并退出

          默認情況下,rm 不刪除目錄。使用 --recursive (-r 或 -R)選項可以刪除每個列出的
          目錄及其下面的內容。

          要刪除第一個字符為“-”的文件 (例如“-foo”),請使用以下其中一種方法:
            rm -- -foo

            rm ./-foo

          請注意,如果使用 rm 來刪除文件,通常仍可以將該文件恢復原狀。如果想保證
          該文件的內容無法還原,請考慮使用 shred。

          請向 <bug-coreutils@gnu.org> 報告錯誤。

          posted on 2008-10-09 13:31 Birdshover 閱讀(232) 評論(0)  編輯  收藏 所屬分類: Lunix資料
          主站蜘蛛池模板: 嘉义市| 泉州市| 上饶县| 营山县| 沭阳县| 循化| 永福县| 巴林左旗| 临澧县| 惠东县| 定西市| 手游| 曲阳县| 海宁市| 仪陇县| 伊通| 哈密市| 石景山区| 江华| 琼中| 贵州省| 辉县市| 乐平市| 永清县| 永寿县| 江西省| 河北区| 营山县| 石家庄市| 瑞丽市| 哈尔滨市| 潼关县| 海伦市| 韩城市| 镇江市| 永兴县| 广安市| 大埔区| 黑山县| 奉化市| 绥宁县|