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 閱讀(231) 評論(0)  編輯  收藏 所屬分類: Lunix資料
          主站蜘蛛池模板: 社会| 繁昌县| 泰和县| 皋兰县| 内乡县| 漳州市| 安塞县| 大田县| 元阳县| 大港区| 麻栗坡县| 银川市| 乌苏市| 唐山市| 临漳县| 侯马市| 江源县| 乌拉特前旗| 平原县| 嫩江县| 宽甸| 吴川市| 分宜县| 吴桥县| 元谋县| 广德县| 霍城县| 星子县| 静宁县| 衢州市| 宜兰市| 梅河口市| 沙雅县| 武邑县| 福州市| 新余市| 寿光市| 三台县| 阆中市| 富宁县| 双牌县|