Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-30 00:20:37 +00:00
parent 44de08faea
commit a2961fe873
59 changed files with 463 additions and 80 deletions

View File

@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
- Start an interactive shell (Bash, by default) in a new root directory:
`arch-chroot {{path/to/new/root}}`
`arch-chroot {{path/to/new_root}}`
- Specify the user (other than the current user) to run the shell as:
`arch-chroot -u {{user}} {{path/to/new/root}}`
`arch-chroot -u {{user}} {{path/to/new_root}}`
- Run a custom command (instead of the default Bash) in the new root directory:
`arch-chroot {{path/to/new/root}} {{command}} {{command_arguments}}`
`arch-chroot {{path/to/new_root}} {{command}} {{command_arguments}}`
- Specify the shell, other than the default Bash (in this case, the `zsh` package should have been installed in the target system):
`arch-chroot {{path/to/new/root}} {{zsh}}`
`arch-chroot {{path/to/new_root}} {{zsh}}`