Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-21 00:18:40 +00:00
parent d82ce1656b
commit e3b0522d15
17 changed files with 34 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Copy files in and out of archives.
> Supports the following archive formats: cpio's custom binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar.
> More information: <https://www.gnu.org/software/cpio>.
> More information: <https://www.gnu.org/software/cpio/manual/cpio.html#Invoking-cpio>.
- Take a list of file names from `stdin` and add them onto an archive (copy-[o]ut) in cpio's binary forma:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Compile C++ source files.
> Part of GCC (GNU Compiler Collection).
> More information: <https://gcc.gnu.org>.
> More information: <https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html>.
- Compile a source code file into an executable binary:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gcal
> Display calendar.
> More information: <https://www.gnu.org/software/gcal>.
> More information: <https://www.gnu.org/software/gcal/manual/gcal.html#Invoking-Gcal>.
- Display calendar for the current month:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Preprocess and compile C and C++ source files, then assemble and link them together.
> Part of GCC (GNU Compiler Collection).
> More information: <https://gcc.gnu.org>.
> More information: <https://gcc.gnu.org/onlinedocs/gcc/>.
- Compile multiple source files into an executable:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gdb
> The GNU Debugger.
> More information: <https://www.gnu.org/software/gdb>.
> More information: <https://sourceware.org/gdb/current/onlinedocs/gdb#Invocation>.
- Debug an executable:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- List the available guides:
`git help {{[-g|--guide]}}`
`git help {{[-g|--guides]}}`
- List all possible configuration variables:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# guile
> Guile Scheme interpreter.
> More information: <https://www.gnu.org/software/guile>.
> More information: <https://www.gnu.org/software/guile/manual/guile.html#Invoking-Guile>.
- Start a REPL (interactive shell):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# help2man
> Produce simple man pages from an executable's `--help` and `--version` output.
> More information: <https://www.gnu.org/software/help2man>.
> More information: <https://www.gnu.org/software/help2man/#Invoking-help2man>.
- Generate a man page for an executable:

View File

@@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# links
> Command-line web browser.
> Command-line text-only web browser.
> See also: `links2'.
> More information: <http://links.twibright.com/user_en.html#subch-browser_calibration>.
- Visit a website:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# links2
> Command-line web browser.
> Command-line web browser with optional graphics support.
> See also: `links`.
> More information: <http://links.twibright.com/user_en.html#subch-browser_calibration>.

View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl show-environment
> Display systemd environment blocks.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#show-environment>.
- Display the environment block for the system:
`systemctl show-environment`
- Display the environment block for the current user:
`systemctl show-environment --user`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zile
> A lightweight clone of the Emacs text editor.
> More information: <https://www.gnu.org/software/zile/>.
> More information: <https://manned.org/zile>.
- Start a buffer for temporary notes, which won't be saved:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A lossless data compressor with a user interface similar to `gzip` or `bzip2`.
> Lzip uses a simplified form of the "Lempel-Ziv-Markovchain-Algorithm" (LZMA) stream format and provides 3-factor integrity checking to maximize interoperability and optimize safety.
> More information: <https://www.nongnu.org/lzip>.
> More information: <https://www.nongnu.org/lzip/manual/lzip_manual.html#Invoking-lzip>.
- Archive a file, replacing it with with a compressed version:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# m4
> Macro processor.
> More information: <https://www.gnu.org/software/m4>.
> More information: <https://www.gnu.org/software/m4/manual/m4.html#Invoking-m4>.
- Process macros in a file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# parallel
> Run commands on multiple CPU cores.
> More information: <https://www.gnu.org/software/parallel>.
> More information: <https://www.gnu.org/software/parallel/man.html>.
- Gzip several files at once, using all cores:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Archiving utility.
> Often combined with a compression method, such as `gzip` or `bzip2`.
> More information: <https://www.gnu.org/software/tar>.
> More information: <https://www.gnu.org/software/tar/manual/tar.html>.
- [c]reate an archive and write it to a [f]ile:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# units
> Convert between two units of measure.
> More information: <https://www.gnu.org/software/units/>.
> More information: <https://www.gnu.org/software/units/manual/units.html>.
- Run in interactive mode: