Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-01 00:25:01 +00:00
parent fcb8fde17a
commit 65a58b1682
10 changed files with 54 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Client for the Open Asset Import Library.
> Supports loading of 40+ 3D file formats, and exporting to several popular 3D formats.
> More information: <https://assimp-docs.readthedocs.io/>.
> More information: <https://manned.org/assimp>.
- List all supported import formats:

33
tldr/distcc Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# distcc
> Distributed C/C++/ObjC compilation client that works with `distccd`.
> More information: <https://manned.org/distcc>.
- Compile a source file using a compiler like `gcc`:
`distcc {{gcc}} -c {{path/to/source.c}} -o {{path/to/output.o}}`
- Set remote hosts to distribute compilation:
`export DISTCC_HOSTS="localhost {{ip1 ip2 ...}}"`
- Compile a project with `make` using `distcc`:
`make {{[-j|--jobs]}} {{parallel_jobs}} CC="distcc {{gcc}}"`
- Show the list of current `distcc` hosts:
`distcc --show-hosts`
- Display help:
`distcc --help`
- Display version:
`distcc --version`

View File

@@ -12,14 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
`grub-editenv /boot/grub/grubenv set default={{Ubuntu}}`
- Display the current value of the `timeout` variable:
- Display all GRUB environment variables:
`grub-editenv /boot/grub/grubenv list timeout`
`grub-editenv /boot/grub/grubenv list`
- Reset the `saved_entry` variable to the default:
`grub-editenv /boot/grub/grubenv unset saved_entry`
- Append "quiet splash" to the kernel command-line:
`grub-editenv /boot/grub/grubenv list kernel_cmdline`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nordvpn
> Command-line interface for NordVPN.
> More information: <https://nordvpn.com/download/linux/>.
> More information: <https://support.nordvpn.com/hc/en-us/articles/20196094470929-Installing-NordVPN-on-Linux-distributions>.
- Interactively log into a NordVPN account:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# lychee
> Find broken URLs.
> More information: <https://lychee.cli.rs/usage/cli/>.
> More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#commandline-usage>.
- Scan a website for broken links:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Advanced client for MySQL, supporting SQL, JavaScript, and Python.
> It offers features for managing InnoDB clusters and document store collections.
> More information: <https://dev.mysql.com/doc/mysql-shell/en/mysql-shell-commands.html>.
> More information: <https://manned.org/mysqlsh>.
- Start MySQL Shell in interactive mode:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# octave
> A programming language for scientific computing.
> More information: <https://docs.octave.org/latest/Invoking-Octave-from-the-Command-Line.html>.
> More information: <https://docs.octave.org/latest/Command-Line-Options.html>.
- Start an interactive session:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xsltproc
> Transform XML with XSLT to produce output (usually HTML or XML).
> More information: <http://www.xmlsoft.org/xslt/xsltproc.html>.
> More information: <https://manned.org/xsltproc>.
- Transform an XML file with a specific XSLT stylesheet:

12
tldr/sudoedit Normal file
View File

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

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zbarimg
> Scan and decode bar codes from image file(s).
> More information: <https://zbar.sourceforge.net>.
> More information: <https://manned.org/zbarimg>.
- Process an image file: