diff --git a/pages/common/sudo.md b/pages/common/sudo.md index 73c4722ea..8a85014dc 100644 --- a/pages/common/sudo.md +++ b/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.):