Browse Source

sudo: remove ambiguity in example (#2585)

kalebo 6 năm trước cách đây
mục cha
commit
5863333106
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.):