Skip to content

Commit 5863333

Browse files
kaleboowenvoke
authored andcommitted
sudo: remove ambiguity in example (#2585)
1 parent fb9011f commit 5863333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/common/sudo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
- Run a command as another user and/or group:
1414

15-
`sudo -u {{user}} -g {{group}} {{id}}`
15+
`sudo -u {{user}} -g {{group}} {{id -a}}`
1616

1717
- Repeat the last command prefixed with "sudo" (only in bash, zsh, etc.):
1818

0 commit comments

Comments
 (0)