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:
@@ -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:
|
||||
|
||||
|
||||
2
tldr/g++
2
tldr/g++
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
2
tldr/gcc
2
tldr/gcc
@@ -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:
|
||||
|
||||
|
||||
2
tldr/gdb
2
tldr/gdb
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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>.
|
||||
|
||||
|
||||
17
tldr/linux/systemctl-show-environment
Normal file
17
tldr/linux/systemctl-show-environment
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
2
tldr/m4
2
tldr/m4
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
2
tldr/tar
2
tldr/tar
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user