|
[下一頁][首頁][上一頁]
|
|
我如何刪除檔案?
|
NAME
rm - 移除目錄記錄
SYNOPSIS
rm file ...
DESCRIPTION
rm 工具試著移除命令列指定的非目錄形態的檔案。若檔案許可不允許寫入,
則使用者會被提示確定。
...使用者可以需除他目錄下的所有檔案...
若試著移除 ``.'' 與 ``..'' 檔案時會出現錯誤。
|
| 範例: |
$ ls Notes hello_world mydir dir hello_world.c notes $ rm Notes $ ls Notes ls: Notes: No such file or directory $ rm notes hello_world.c mydir rm: mydir: is a directory $ ls dir hello_world mydir $ touch Notes notes hello_world.c $ |
| [上一頁][首頁][下一頁] |