<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 附錄A-練習14:刪除文件 (rm) 這節練習中,你將學會如何使用`rm`命令刪除一個文件。 ### 做到這些 ### Linux ~~~ $ cd temp $ ls uncool.txt iamcool.txt neat.txt something thefourthfile.txt $ rm uncool.txt $ ls iamcool.txt neat.txt something thefourthfile.txt $ rm iamcool.txt neat.txt thefourthfile.txt $ ls something $ cp -r something newplace $ $ rm something/awesome.txt $ rmdir something $ rm -rf newplace $ ls $ ~~~ ### Windows ~~~ > cd temp > ls Directory: C:\Users\zed\temp Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 12/22/2011 4:52 PM newplace d---- 12/22/2011 4:52 PM something -a--- 12/22/2011 4:49 PM 0 iamcool.txt -a--- 12/22/2011 4:49 PM 0 neat.txt -a--- 12/22/2011 4:49 PM 0 thefourthfile.txt -a--- 12/22/2011 4:49 PM 0 uncool.txt > rm uncool.txt > ls Directory: C:\Users\zed\temp Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 12/22/2011 4:52 PM newplace d---- 12/22/2011 4:52 PM something -a--- 12/22/2011 4:49 PM 0 iamcool.txt -a--- 12/22/2011 4:49 PM 0 neat.txt -a--- 12/22/2011 4:49 PM 0 thefourthfile.txt > rm iamcool.txt > rm neat.txt > rm thefourthfile.txt > ls Directory: C:\Users\zed\temp Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 12/22/2011 4:52 PM newplace d---- 12/22/2011 4:52 PM something > cp -r something newplace > rm something/awesome.txt > rmdir something > rm -r newplace > ls > ~~~ ### 你應該學到的 這里我們清理了之前練習中的所有文件。還記得我讓你嘗試使用`rmdir`刪除一個不為空的目錄嗎?那個操作失敗了因為你無法刪除包含文件在內的目錄。要做到這一點,你需要刪除文件,或者遞歸刪除所有的內容。這是你要在本節練習結尾要做的事情。 ### 更多練習 > - 清理從開始練習到現在所有`temp`目錄下的文件。 > - 在你的筆記本上寫下遞歸刪除文件時一定要小心。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看