Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-14 00:20:50 +00:00
parent 366b13ffac
commit 2f0bb2e110
24 changed files with 260 additions and 33 deletions

View File

@@ -23,3 +23,15 @@ source: https://github.com/tldr-pages/tldr.git
- Execute a command as another user:
`su - {{username}} {{[-c|--command]}} "{{command}}"`
- Switch to a given user and use a specific shell (e.g., zsh, fish, bash):
`su {{[-s|--shell]}} /{{path/to/shell}} {{username}}`
- Display help:
`su {{[-h|--help]}}`
- Display version:
`su {{[-V|--version]}}`