[下一頁][首頁][上一頁]
|
我如何執行 rm、cp 與 mv 時,須要我的許可?
|
SYNOPSIS rm [-i] file ... cp [-i] source_file target_file mv [-i] source target |
範例: |
$ ls N3tes hello_world mydir dir hello_world.c notes $ rm -i * ..."*" 表示所有的檔案... remove N3tes? y remove dir? y remove hello_world? y remove hello_world.c? ...按下 Enter 使用內定值 "n"... rm: mydir: is a directory remove notes? $ ls hello_world hello_world.c mydir notes $ |
[上一頁][首頁][下一頁] |