diff --git a/tldr/linux/guake b/tldr/linux/guake index 925adc69..9eb24572 100644 --- a/tldr/linux/guake +++ b/tldr/linux/guake @@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git - Open a new tab: -` + +T` +` + + T` - Close the terminal: diff --git a/tldr/linux/pacman-s b/tldr/linux/pacman-s new file mode 100644 index 00000000..aa8b511c --- /dev/null +++ b/tldr/linux/pacman-s @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pacman -S + +> This command is an alias of `pacman --sync`. + +- View documentation for the original command: + +`tldr pacman-sync` diff --git a/tldr/linux/pacman-sync b/tldr/linux/pacman-sync index 481bbef6..ddba104d 100644 --- a/tldr/linux/pacman-sync +++ b/tldr/linux/pacman-sync @@ -11,32 +11,32 @@ source: https://github.com/tldr-pages/tldr.git - Install a new package: -`sudo pacman --sync {{package}}` +`sudo pacman -S {{package}}` -- Synchronize and update all packages (add `--downloadonly` to download the packages and not update them): +- [S]ynchronize and refresh ([y]) the package database along with a sys[u]pgrade (add `--downloadonly` to only download the packages and not update them): -`sudo pacman --sync --refresh --sysupgrade` +`sudo pacman -Syu` -- Update all packages and install a new one without prompting: +- Update and [u]pgrade all packages and install a new one without prompting: -`sudo pacman --sync --refresh --sysupgrade --noconfirm {{package}}` +`sudo pacman -Syu --noconfirm {{package}}` -- Search the package database for a regular expression or keyword: +- Search ([s]) the package database for a regular expression or keyword: -`pacman --sync --search "{{search_pattern}}"` +`pacman -Ss "{{search_pattern}}"` -- Display information about a package: +- Display [i]nformation about a package: -`pacman --sync --info {{package}}` +`pacman -Si {{package}}` - Overwrite conflicting files during a package update: -`sudo pacman --sync --refresh --sysupgrade --overwrite {{path/to/file}}` +`sudo pacman -Syu --overwrite {{path/to/file}}` -- Synchronize and update all packages, but ignore a specific package (can be used more than once): +- [S]ynchronize and [u]pdate all packages, but ignore a specific package (can be used more than once): -`sudo pacman --sync --refresh --sysupgrade --ignore {{package}}` +`sudo pacman -Syu --ignore {{package}}` -- Remove not installed packages and unused repositories from the cache (use two `--clean` flags to clean all packages): +- Remove not installed packages and unused repositories from the cache (use the flags `Scc` to [c]lean all packages): -`sudo pacman --sync --clean` +`sudo pacman -Sc` diff --git a/tldr/linux/shnsplit b/tldr/linux/shnsplit index a9603706..5301f8df 100644 --- a/tldr/linux/shnsplit +++ b/tldr/linux/shnsplit @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Split a `.wav` file into files of the form "track-number - album - title": -`shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}} -t "%n - %a - %t` +`shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}} -t "%n - %a - %t"` diff --git a/tldr/osx/terminal-notifier b/tldr/osx/terminal-notifier index acc719ca..7c8b54e5 100644 --- a/tldr/osx/terminal-notifier +++ b/tldr/osx/terminal-notifier @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Open an app when the notification is clicked: -`terminal-notifier -message '{{Imported 42 contacts.}}' -activate {{com.apple.AddressBook}}` +`terminal-notifier -message '{{Imported 42 contacts.}}' -activate {{com.apple.AddressBook}}` diff --git a/tldr/pulumi-cancel b/tldr/pulumi-cancel new file mode 100644 index 00000000..72206778 --- /dev/null +++ b/tldr/pulumi-cancel @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# pulumi cancel + +> Cancel a stack's currently running update, if any. +> More information: . + +- Cancel a stack's currently running update, if any: + +`pulumi cancel {{stack_name}}` + +- Skip confirmation prompts, and proceed with cancellation anyway: + +`pulumi cancel --yes` + +- Display help: + +`pulumi cancel --help` diff --git a/tldr/windows/rd b/tldr/windows/rd index 3b55523a..bb24a570 100644 --- a/tldr/windows/rd +++ b/tldr/windows/rd @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # rd -> This command is an alias of `rmdir` on Command Prompt, and subsequently `Remove-Item` in PowerShell. +> This command is an alias of `rmdir` on the Command Prompt and `Remove-Item` in PowerShell. - View documentation for the original Command Prompt command: