diff --git a/tldr/histexpand b/tldr/histexpand index c8dbe60b..96259dbe 100644 --- a/tldr/histexpand +++ b/tldr/histexpand @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # history expansion -> Reuse and expand the shell history in `sh`, `bash`, `zsh`, `rbash` and `ksh`. +> Reuse and expand the shell history in `sh`, Bash, Zsh, `rbash` and `ksh`. > More information: . - Run the previous command as root (`!!` is replaced by the previous command): diff --git a/tldr/history b/tldr/history index 0838da24..25ea8754 100644 --- a/tldr/history +++ b/tldr/history @@ -12,15 +12,15 @@ source: https://github.com/tldr-pages/tldr.git `history` -- Display the last 20 commands (in `zsh` it displays all commands starting from the 20th): +- Display the last 20 commands (in Zsh it displays all commands starting from the 20th): `history {{20}}` -- Clear the commands history list (only for current `bash` shell): +- Clear the commands history list (only for current Bash shell): `history -c` -- Overwrite history file with history of current `bash` shell (often combined with `history -c` to purge history): +- Overwrite history file with history of current Bash shell (often combined with `history -c` to purge history): `history -w` diff --git a/tldr/linux/arch-chroot b/tldr/linux/arch-chroot index cb1c831a..62f28602 100644 --- a/tldr/linux/arch-chroot +++ b/tldr/linux/arch-chroot @@ -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: . -- 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}}` diff --git a/tldr/linux/faketime b/tldr/linux/faketime index 205fe56d..7ba38f4e 100644 --- a/tldr/linux/faketime +++ b/tldr/linux/faketime @@ -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}}` diff --git a/tldr/msfvenom b/tldr/msfvenom index 4154534d..fa1b98f7 100644 --- a/tldr/msfvenom +++ b/tldr/msfvenom @@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git `msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST={{local_ip}} LPORT={{local_port}} -f exe -o {{path/to/binary.exe}}` -- Create a raw bash with a reverse TCP handler: +- Create a raw Bash with a reverse TCP handler: `msfvenom -p cmd/unix/reverse_bash LHOST={{local_ip}} LPORT={{local_port}} -f raw` diff --git a/tldr/nvm.fish b/tldr/nvm.fish index a3d6808d..1bd9b568 100644 --- a/tldr/nvm.fish +++ b/tldr/nvm.fish @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # nvm -> Install, uninstall, or switch between Node.js versions under the `fish` shell. +> Install, uninstall, or switch between Node.js versions under the fish shell. > Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc. > More information: . diff --git a/tldr/open b/tldr/open index b838bbf9..a3e2723c 100644 --- a/tldr/open +++ b/tldr/open @@ -11,6 +11,6 @@ source: https://github.com/tldr-pages/tldr.git `tldr open -p osx` -- View documentation for the command available through `fish`: +- View documentation for the command available through fish: `tldr open.fish` diff --git a/tldr/open.fish b/tldr/open.fish index e7990e16..3927487e 100644 --- a/tldr/open.fish +++ b/tldr/open.fish @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # open > Opens files, directories, and URIs with default applications. -> This command is available through `fish` on operating systems without the built-in `open` command (e.g. Haiku and macOS). +> This command is available through fish on operating systems without the built-in `open` command (e.g. Haiku and macOS). > More information: . - Open a file with the associated application: diff --git a/tldr/osx/whence b/tldr/osx/whence index cf31bc54..fd581c85 100644 --- a/tldr/osx/whence +++ b/tldr/osx/whence @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # whence -> A zsh builtin to indicate how a command would be interpreted. +> A Zsh builtin to indicate how a command would be interpreted. > More information: . - Interpret `command`, with expansion if defined as an `alias` (similar to the `command -v` builtin): diff --git a/tldr/pio-system b/tldr/pio-system index 06cf5054..4bd4b781 100644 --- a/tldr/pio-system +++ b/tldr/pio-system @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Miscellaneous system commands for PlatformIO. > More information: . -- Install shell completion for the current shell (supports Bash, Fish, Zsh and PowerShell): +- Install shell completion for the current shell (supports Bash, fish, Zsh and PowerShell): `pio system completion install` diff --git a/tldr/printf b/tldr/printf index 9db90e6e..980472cd 100644 --- a/tldr/printf +++ b/tldr/printf @@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git `printf "{{var1: %s var2: %s }}" "{{$VAR1}}" "{{$VAR2}}"` -- Store a formatted message in a variable (does not work on zsh): +- Store a formatted message in a variable (does not work on Zsh): `printf -v {{myvar}} {{"This is %s = %d " "a year" 2016}}` diff --git a/tldr/procs b/tldr/procs index a436f100..7c8c1d1f 100644 --- a/tldr/procs +++ b/tldr/procs @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `procs --tree` -- List information about processes, if the commands which started them contain `zsh`: +- List information about processes, if the commands which started them contain Zsh: `procs {{zsh}}` diff --git a/tldr/pueue-completions b/tldr/pueue-completions index 3e29f95e..52c609e5 100644 --- a/tldr/pueue-completions +++ b/tldr/pueue-completions @@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git `sudo pueue completions bash {{/usr/share/bash-completion/completions/pueue.bash}}` -- Generate completions for zsh: +- Generate completions for Zsh: `sudo pueue completions zsh {{/usr/share/zsh/site-functions}}` diff --git a/tldr/sudo b/tldr/sudo index 9e61cadf..fcb7fd07 100644 --- a/tldr/sudo +++ b/tldr/sudo @@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git `sudo --user={{user}} --group={{group}} {{id -a}}` -- Repeat the last command prefixed with `sudo` (only in `bash`, `zsh`, etc.): +- Repeat the last command prefixed with `sudo` (only in Bash, Zsh, etc.): `sudo !!`