国产宅男网站在线|亚洲A级性爱免费视频|亚洲中精品级在线|午夜福利AA毛

  • <dd id="gf5jf"><th id="gf5jf"></th></dd>

    <cite id="gf5jf"><label id="gf5jf"></label></cite>
  • <div id="gf5jf"><listing id="gf5jf"></listing></div>
    學習啦 > 學習電腦 > 操作系統(tǒng) > Linux教程 > Linux rm刪除文件命令介紹

    Linux rm刪除文件命令介紹

    時間: 志藝942 分享

    Linux rm刪除文件命令介紹

      linux命令在系統(tǒng)中有兩種類型:內(nèi)置Shell命令和Linux命令。那么你知道Linux rm刪除文件命令介紹么?接下來是小編為大家收集的Linux rm刪除文件命令介紹,歡迎大家閱讀:

      Linux rm刪除文件命令介紹

      直接rm就可以了,不過要加個參數(shù)-f 即:rm -f 文件路徑

      -f 就是直接強行刪除,不作任何提示的意思

      刪除文件使用實例:

      rm -f /var/log/httpd/access.log

      將會強制刪除/var/log/httpd/access.log這個文件

      刪除目錄使用實例:

      rm -rf /var/log/httpd/access

      將會刪除/var/log/httpd/access目錄以及其下所有文件、文件夾

      需要提醒的是:使用這個rm -rf的時候一定要格外小心,linux沒有回收站的

      當然,rm還有更多的其他參數(shù)和用法,man rm就可以查看了

      
    看了“Linux rm刪除文件命令介紹”還想看:

    1.Linuxrm刪除文件命令的用法介紹

    2.Linux rm 刪除文件命令的用法

    3.linux rm刪除文件和目錄使用詳解

    4.Linux中rm與rmdir刪除命令的用法詳解

    5.Linux 刪除文件 rm 命令使用實例

    2961864