mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 18:50:23 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Enhanced `chroot` command to help in the Arch Linux installation process.
|
||||
> More information: <https://man.archlinux.org/man/arch-chroot.8>.
|
||||
|
||||
- Start an interactive shell (`bash`, by default) in a new root directory:
|
||||
- Start an interactive shell (Bash, by default) in a new root directory:
|
||||
|
||||
`arch-chroot {{path/to/new/root}}`
|
||||
|
||||
@@ -16,10 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`arch-chroot -u {{user}} {{path/to/new/root}}`
|
||||
|
||||
- Run a custom command (instead of the default `bash`) in the new root directory:
|
||||
- Run a custom command (instead of the default Bash) in the new root directory:
|
||||
|
||||
`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):
|
||||
- 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}}`
|
||||
|
||||
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`faketime '{{today 23:30}}' {{date}}`
|
||||
|
||||
- Open a new `bash` shell, which uses yesterday as the current date:
|
||||
- Open a new Bash shell, which uses yesterday as the current date:
|
||||
|
||||
`faketime '{{yesterday}}' {{bash}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user