mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -24,3 +24,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- View the hotkey in a key[M]ap:
|
||||
|
||||
`bindkey -M main`
|
||||
|
||||
- Enable [v]i mode:
|
||||
|
||||
`bindkey -v`
|
||||
|
||||
- Enable [e]macs mode (default mode):
|
||||
|
||||
`bindkey -e`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# CUPS
|
||||
|
||||
> 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>.
|
||||
|
||||
- View documentation for running the CUPS daemon:
|
||||
|
||||
14
tldr/flips
14
tldr/flips
@@ -5,17 +5,17 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# flips
|
||||
|
||||
> Create and apply patches for IPS and BPS files.
|
||||
> More information: <https://github.com/Alcaro/Flips>.
|
||||
> Create and apply IPS and BPS patches.
|
||||
> More information: <https://git.disroot.org/Sir_Walrus/Flips>.
|
||||
|
||||
- Start Flips to create and apply patches interactively:
|
||||
- Run Flips interactively:
|
||||
|
||||
`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}}`
|
||||
|
||||
@@ -6,8 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# 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.
|
||||
> `distrobox` isn't a command, but a set of commands.
|
||||
> Note: It uses Podman or Docker to create your containers.
|
||||
> Note: `distrobox` isn't a command, but a set of commands.
|
||||
> More information: <https://github.com/89luca89/distrobox>.
|
||||
|
||||
- View documentation for creating containers:
|
||||
|
||||
@@ -5,34 +5,30 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# protonvpn
|
||||
|
||||
> Unofficial third-party ProtonVPN client.
|
||||
> See also: `protonvpn-connect`.
|
||||
> More information: <https://github.com/Rafficer/linux-cli-community>.
|
||||
> Official Proton VPN client.
|
||||
> Some subcommands such as `connect` have their own usage documentation.
|
||||
> 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`
|
||||
|
||||
- Display help for a subcommand:
|
||||
|
||||
`protonvpn {{subcommand}} --help`
|
||||
`protonvpn {{[-h|--help]}}`
|
||||
|
||||
@@ -5,29 +5,25 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# protonvpn connect
|
||||
|
||||
> Connect to ProtonVPN.
|
||||
> More information: <https://github.com/Rafficer/linux-cli-community>.
|
||||
> Connect to Proton VPN.
|
||||
> 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}}`
|
||||
|
||||
- Connect to ProtonVPN using the fastest Tor-supporting server:
|
||||
|
||||
`protonvpn {{[c|connect]}} --tor`
|
||||
`protonvpn connect {{server_name}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`protonvpn {{[c|connect]}} --help`
|
||||
`protonvpn connect {{[-h|--help]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# xbps
|
||||
|
||||
> 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>.
|
||||
> More information: <https://docs.voidlinux.org/xbps/index.html>.
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pyenv virtualenv
|
||||
|
||||
> 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:
|
||||
|
||||
`pyenv virtualenv {{3.6.6}} {{virtualenv_name}}`
|
||||
`pyenv virtualenv 3.6.6 {{virtualenv_name}}`
|
||||
|
||||
- List all existing virtual environments:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# regex
|
||||
|
||||
> 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/>.
|
||||
|
||||
- Match any single character:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# transmission
|
||||
|
||||
> 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/>.
|
||||
|
||||
- View documentation for running Transmission's daemon:
|
||||
|
||||
@@ -27,8 +27,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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 ...}}`
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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 oile.exe}} {{path o\source_file.pas}}`
|
||||
|
||||
- Compile the specified source file into an executable with the same name along with/without debug information:
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# zerotier-cli
|
||||
|
||||
> 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>.
|
||||
|
||||
- Join a network:
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# zerotier-idtool
|
||||
|
||||
> 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>.
|
||||
|
||||
- Generate a new ZeroTier identity and output the secret part to `stdout`:
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# zerotier-one
|
||||
|
||||
> 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>.
|
||||
|
||||
- Start the ZeroTier One [d]aemon:
|
||||
|
||||
Reference in New Issue
Block a user