mirror of https://github.com/CrimsonTome/tldr.git
sudo: remove ambiguity in example (#2585)
parent
fb9011f6f9
commit
5863333106
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
- Run a command as another user and/or group:
|
- 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.):
|
- Repeat the last command prefixed with "sudo" (only in bash, zsh, etc.):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue