Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-14 00:18:08 +00:00
parent 904f7fe0c1
commit 605e1cdfd8
20 changed files with 97 additions and 68 deletions

View File

@@ -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: