Browse Source

sudo: remove ambiguity in example (#2585)

kalebo 6 years ago
parent
commit
5863333106
1 changed files with 1 additions and 1 deletions
  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.):