Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-09 00:17:12 +00:00
parent 31e38d1972
commit 8fdd4c7ea2
24 changed files with 186 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# check-language-support
> Display a list of missing language packages on Ubuntu.
> More information: <https://manpages.ubuntu.com/manpages/latest/man1/check-language-support.html>.
> More information: <https://manned.org/check-language-support>.
- Display a list of missing language packages based on installed software and enabled locales:

View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# dnf config-manager
> Manage DNF configuration options and repositories on Fedora-based systems.
> More information: <https://manned.org/dnf-config-manager>.
- Add (and enable) a repository from a URL:
`dnf config-manager --add-repo={{repository_url}}`
- Print current configuration values:
`dnf config-manager --dump`
- Enable a specific repository:
`dnf config-manager --set-enabled {{repository_id}}`
- Disable specified repositories:
`dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}`
- Set a configuration option for a repository:
`dnf config-manager --setopt={{option}}={{value}}`
- Display help:
`dnf config-manager --help-cmd`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# do-release-upgrade
> The Ubuntu release upgrader.
> More information: <https://ubuntu.com/server/docs/upgrade-introduction>.
> More information: <https://manned.org/do-release-upgrade.8>.
- Upgrade to the latest release:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A collection of tools for indexing, inspecting and visualizing disk usage.
> Duc maintains a database of accumulated sizes of directories in the file system, allowing to query this database, or creating fancy graphs to show where data is.
> More information: <https://duc.zevv.nl/>.
> More information: <http://duc.zevv.nl>.
- Index the `/usr` directory, writing to the default database location `~/.duc.db`:

37
tldr/linux/gpclient Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# gpclient
> Connect to a GlobalProtect VPN on Linux via OpenConnect.
> More information: <https://github.com/yuezk/GlobalProtect-openconnect>.
- Connect to a GlobalProtect VPN using a portal server:
`gpclient connect {{vpn_gateway_url}}`
- Disconnect from the currently connected VPN server:
`gpclient disconnect`
- Launch the graphical user interface (GUI) for VPN management:
`gpclient launch-gui`
- Use OpenSSL workaround to bypass legacy renegotiation errors:
`gpclient connect --fix-openssl {{vpn_gateway_url}}`
- Ignore TLS errors during connection:
`gpclient connect --ignore-tls-errors {{vpn_gateway_url}}`
- Display version:
`gpclient --version`
- Display help for any command:
`gpclient help {{command}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pro
> Manage Ubuntu Pro services.
> More information: <https://manpages.ubuntu.com/manpages/latest/man1/ubuntu-advantage.1.html>.
> More information: <https://manned.org/ubuntu-advantage.1>.
- Connect your system to the Ubuntu Pro support contract:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# virt-manager
> A desktop user interface for managing KVM and Xen virtual machines and LXC containers.
> More information: <https://manpages.ubuntu.com/manpages/man1/virt-manager.1.html>.
> More information: <https://manned.org/virt-manager.1>.
- Launch the GUI:

View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# yum config-manager
> This command is an alias of `dnf config-manager`.
- View documentation for the original command:
`tldr dnf config-manager`