Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-10 00:21:47 +00:00
parent ffe393201e
commit 5ad1f5ce60
15 changed files with 55 additions and 53 deletions

View File

@@ -24,3 +24,11 @@ source: https://github.com/tldr-pages/tldr.git
- View the hotkey in a key[M]ap: - View the hotkey in a key[M]ap:
`bindkey -M main` `bindkey -M main`
- Enable [v]i mode:
`bindkey -v`
- Enable [e]macs mode (default mode):
`bindkey -e`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# CUPS # CUPS
> Open source printing system. > Open source printing system.
> CUPS isn't a command, but a set of commands. > Note: CUPS isn't a command, but a set of commands.
> More information: <https://www.cups.org/index.html>. > More information: <https://www.cups.org/index.html>.
- View documentation for running the CUPS daemon: - View documentation for running the CUPS daemon:

View File

@@ -5,17 +5,17 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# flips # flips
> Create and apply patches for IPS and BPS files. > Create and apply IPS and BPS patches.
> More information: <https://github.com/Alcaro/Flips>. > More information: <https://git.disroot.org/Sir_Walrus/Flips>.
- Start Flips to create and apply patches interactively: - Run Flips interactively:
`flips` `flips`
- Apply a patch and create a new ROM file: - Apply a patch to a file:
`flips --apply {{patch.bps}} {{rom.smc}} {{hack.smc}}` `flips --apply {{path/to/patch.bps}} {{path/to/source_file}} {{path/to/output_file}}`
- Create a patch from two ROMs: - Create a patch from two files:
`flips --create {{rom.smc}} {{hack.smc}} {{patch.bps}}` `flips --create {{path/to/original_file}} {{path/to/modified_file}} {{path/to/output_patch.bps}}`

View File

@@ -6,8 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# distrobox # distrobox
> Use any Linux distribution inside your terminal in a container. Install & use packages inside it while tightly integrating with the host OS, sharing storage (`home` directory) and hardware. > Use any Linux distribution inside your terminal in a container. Install & use packages inside it while tightly integrating with the host OS, sharing storage (`home` directory) and hardware.
> `distrobox` isn't a command, but a set of commands. > Note: `distrobox` isn't a command, but a set of commands.
> Note: It uses Podman or Docker to create your containers.
> More information: <https://github.com/89luca89/distrobox>. > More information: <https://github.com/89luca89/distrobox>.
- View documentation for creating containers: - View documentation for creating containers:

View File

@@ -5,34 +5,30 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# protonvpn # protonvpn
> Unofficial third-party ProtonVPN client. > Official Proton VPN client.
> See also: `protonvpn-connect`. > Some subcommands such as `connect` have their own usage documentation.
> More information: <https://github.com/Rafficer/linux-cli-community>. > More information: <https://protonvpn.com/support/linux-cli#how-to-use-the-cli-for-linux>.
- Initialize ProtonVPN profile: - Initialize Proton VPN profile:
`protonvpn init` `protonvpn signin`
- Connect to ProtonVPN interactively: - Remove account credentials:
`protonvpn {{c|connect}}` `protonvpn signout`
- Display connection status: - Display Proton VPN account information:
`protonvpn {{s|status}}` `protonvpn info`
- Disconnect from ProtonVPN: - Connect to Proton VPN interactively:
`protonvpn {{d|disconnect}}` `protonvpn connect`
- Reconnect or connect to the last server used: - Disconnect from Proton VPN:
`protonvpn {{r|reconnect}}` `protonvpn disconnect`
- Refresh OpenVPN configuration and server data: - Display help:
`protonvpn refresh` `protonvpn {{[-h|--help]}}`
- Display help for a subcommand:
`protonvpn {{subcommand}} --help`

View File

@@ -5,29 +5,25 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# protonvpn connect # protonvpn connect
> Connect to ProtonVPN. > Connect to Proton VPN.
> More information: <https://github.com/Rafficer/linux-cli-community>. > More information: <https://protonvpn.com/support/linux-cli#how-to-use-the-cli-for-linux>.
- Connect to ProtonVPN interactively: - Connect to Proton VPN using the fastest server available:
`protonvpn {{[c|connect]}}` `protonvpn connect`
- Connect to ProtonVPN using the fastest server available: - Connect to the fastest server in a specific country:
`protonvpn {{[c|connect]}} {{[-f|--fastest]}}` `protonvpn connect --country "{{country_code_or_name}}"`
- Connect to ProtonVPN using a specific server with a specific protocol: - Connect to the fastest server in a specific city:
`protonvpn {{[c|connect]}} {{server_name}} -p {{udp|tcp}}` `protonvpn connect --city "{{city_name}}"`
- Connect to ProtonVPN using a random server with a specific protocol: - Connect to a specific server:
`protonvpn {{[c|connect]}} {{[-r|--random]}} -p {{udp|tcp}}` `protonvpn connect {{server_name}}`
- Connect to ProtonVPN using the fastest Tor-supporting server:
`protonvpn {{[c|connect]}} --tor`
- Display help: - Display help:
`protonvpn {{[c|connect]}} --help` `protonvpn connect {{[-h|--help]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xbps # xbps
> The X Binary Package System is the package manager used by Void Linux. > The X Binary Package System is the package manager used by Void Linux.
> `xbps` isn't a command, but a set of commands. > Note: `xbps` isn't a command, but a set of commands.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>. > For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://docs.voidlinux.org/xbps/index.html>. > More information: <https://docs.voidlinux.org/xbps/index.html>.

View File

@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
# pyenv virtualenv # pyenv virtualenv
> Create virtual environments based on one's installed Python distributions. > Create virtual environments based on one's installed Python distributions.
> More information: <https://github.com/pyenv/pyenv-virtualenv>. > More information: <https://github.com/pyenv/pyenv-virtualenv#usage>.
- Create a new Python 3.6.6 virtual environment: - Create a new Python 3.6.6 virtual environment:
`pyenv virtualenv {{3.6.6}} {{virtualenv_name}}` `pyenv virtualenv 3.6.6 {{virtualenv_name}}`
- List all existing virtual environments: - List all existing virtual environments:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# regex # regex
> Regular expressions (`regex`) are patterns used to match, search, and manipulate text. > Regular expressions (`regex`) are patterns used to match, search, and manipulate text.
> `regex` isn't a command, but syntax to be used with other commands. > Note: `regex` isn't a command, but syntax to be used with other commands.
> More information: <https://cheatography.com/davechild/cheat-sheets/regular-expressions/>. > More information: <https://cheatography.com/davechild/cheat-sheets/regular-expressions/>.
- Match any single character: - Match any single character:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# transmission # transmission
> A simple torrent client. > A simple torrent client.
> Transmission isn't a command, but a set of commands. > Note: Transmission isn't a command, but a set of commands.
> More information: <https://transmissionbt.com/>. > More information: <https://transmissionbt.com/>.
- View documentation for running Transmission's daemon: - View documentation for running Transmission's daemon:

View File

@@ -27,8 +27,8 @@ source: https://github.com/tldr-pages/tldr.git
- List the contents of a specific archive without extracting them: - List the contents of a specific archive without extracting them:
`unzip -l {{path/to/archive.zip}}` `unzip -l {{path/to/archive}}.zip`
- Extract a specific file from an archive: - Extract specific files from an archive:
`unzip -j {{path/to/archive.zip}} {{path/to/file1_in_archive path/to/file2_in_archive ...}}` `unzip -j {{path/to/archive}}.zip {{path/to/file1_in_archive path/to/file2_in_archive ...}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Compile the specified source file into an executable with the specified name: - Compile the specified source file into an executable with the specified name:
`pabcnetcclear /Output:{{path o\_file.exe}} {{path o\source_file.pas}}` `pabcnetcclear /Output:{{path o ile.exe}} {{path o\source_file.pas}}`
- Compile the specified source file into an executable with the same name along with/without debug information: - Compile the specified source file into an executable with the same name along with/without debug information:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zerotier-cli # zerotier-cli
> Control the local ZeroTier virtual network service. > Control the local ZeroTier virtual network service.
> See also: `zerotier-idtool`, `zerotier-one`.
> More information: <https://github.com/zerotier/ZeroTierOne/blob/main/doc/zerotier-cli.1.md>. > More information: <https://github.com/zerotier/ZeroTierOne/blob/main/doc/zerotier-cli.1.md>.
- Join a network: - Join a network:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zerotier-idtool # zerotier-idtool
> Create and manipulate ZeroTier identities. > Create and manipulate ZeroTier identities.
> See also: `zerotier-cli`, `zerotier-one`.
> More information: <https://github.com/zerotier/ZeroTierOne/blob/dev/doc/zerotier-idtool.1.md>. > More information: <https://github.com/zerotier/ZeroTierOne/blob/dev/doc/zerotier-idtool.1.md>.
- Generate a new ZeroTier identity and output the secret part to `stdout`: - Generate a new ZeroTier identity and output the secret part to `stdout`:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zerotier-one # zerotier-one
> Start the ZeroTier One daemon. > Start the ZeroTier One daemon.
> See also: `zerotier-cli`, `zerotier-idtool`.
> More information: <https://github.com/zerotier/ZeroTierOne/blob/main/doc/zerotier-one.8.md>. > More information: <https://github.com/zerotier/ZeroTierOne/blob/main/doc/zerotier-one.8.md>.
- Start the ZeroTier One [d]aemon: - Start the ZeroTier One [d]aemon: