浏览代码

bash: quote command passed with -c

Waldir Pimenta 8 年之前
父节点
当前提交
0f16059d3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/common/bash.md

+ 1 - 1
pages/common/bash.md

@@ -9,7 +9,7 @@
 
 - Execute a command:
 
-`bash -c {{command}}`
+`bash -c "{{command}}"`
 
 - Run commands from a file: