mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 10:51:36 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/id
10
tldr/id
@@ -12,11 +12,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`id`
|
||||
|
||||
- Display the current user identity:
|
||||
|
||||
`id -un`
|
||||
|
||||
- Display the current user identity as a number:
|
||||
|
||||
`id -u`
|
||||
|
||||
- Display the current group identity as a number:
|
||||
- Display the current primary group identity:
|
||||
|
||||
`id -gn`
|
||||
|
||||
- Display the current primary group identity as a number:
|
||||
|
||||
`id -g`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user