瀏覽代碼

sudo: remove ambiguity in example (#2585)

kalebo 6 年之前
父節點
當前提交
5863333106
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/common/sudo.md

+ 1 - 1
pages/common/sudo.md

@@ -12,7 +12,7 @@
 
 - Run a command as another user and/or group:
 
-`sudo -u {{user}} -g {{group}} {{id}}`
+`sudo -u {{user}} -g {{group}} {{id -a}}`
 
 - Repeat the last command prefixed with "sudo" (only in bash, zsh, etc.):