summaryrefslogtreecommitdiffhomepage
path: root/zh-tw/bash-tw.html.markdown
diff options
context:
space:
mode:
authorWeihang Lo <b01605002@gmail.com>2016-08-03 01:45:22 +0800
committerWeihang Lo <b01605002@gmail.com>2016-08-03 01:45:22 +0800
commitfdc1cf944dbafd7ee89c421c871e70f57e5aacb5 (patch)
treee613fa484e7f217b0eb01363328dd65083a1802a /zh-tw/bash-tw.html.markdown
parent83bca498968c24262780de32e5b5e2d2ac0318bc (diff)
[bash/zh-tw] add missing line for rm command
Diffstat (limited to 'zh-tw/bash-tw.html.markdown')
-rw-r--r--zh-tw/bash-tw.html.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/zh-tw/bash-tw.html.markdown b/zh-tw/bash-tw.html.markdown
index f195d273..3210f001 100644
--- a/zh-tw/bash-tw.html.markdown
+++ b/zh-tw/bash-tw.html.markdown
@@ -239,7 +239,9 @@ echo "#helloworld" | cat > output.out
echo "#helloworld" | tee output.out >/dev/null
# 清理臨時文件並顯示詳情(增加 '-i' 選項啓用互動模式)
+# 警告: `rm` 指令無法復原
rm -v output.out error.err output-and-error.log
+rm -r tempDir/ # 遞迴刪除
# 一個指令可用 $( ) 嵌套在另一個指令內部:
# 以下的指令會印出當前目錄下的目錄和文件總數