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 閱讀(228) 評論(0)  編輯  收藏 所屬分類: Lunix資料
          主站蜘蛛池模板: 平乡县| 自贡市| 永宁县| 肇源县| 长子县| 肥城市| 嵩明县| 三门县| 莱阳市| 开远市| 陕西省| 五大连池市| 云安县| 贵南县| 滦平县| 隆化县| 西吉县| 蒙山县| 苍溪县| 聂荣县| 平舆县| 烟台市| 稷山县| 莎车县| 犍为县| 乾安县| 晴隆县| 武夷山市| 连山| 远安县| 泾川县| 固安县| 茶陵县| 庆阳市| 襄垣县| 孙吴县| 岱山县| 虎林市| 瑞昌市| 友谊县| 桦川县|