mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 13:51:00 +00:00
Update cheatsheets
This commit is contained in:
8
tldr/id
8
tldr/id
@@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display the current user identity:
|
||||
|
||||
`id -un`
|
||||
`id {{[-un|--user --name]}}`
|
||||
|
||||
- Display the current user identity as a number:
|
||||
|
||||
`id -u`
|
||||
`id {{[-u|--user]}}`
|
||||
|
||||
- Display the current primary group identity:
|
||||
|
||||
`id -gn`
|
||||
`id {{[-gn|--group --name]}}`
|
||||
|
||||
- Display the current primary group identity as a number:
|
||||
|
||||
`id -g`
|
||||
`id {{[-g|--group]}}`
|
||||
|
||||
- Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user