mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 15:51:23 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Convert PDF file (pages 1 through 3) to an image with 150 dpi resolution:
|
||||
|
||||
`gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=jpeg -r150 -dFirstPage={{1}} -dLastPage={{3}} -sOutputFile={{output_%d.jpg}} {{input.pdf}}`
|
||||
`gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=jpeg -r150 -dFirstPage=1 -dLastPage=3 -sOutputFile={{output_%d.jpg}} {{input.pdf}}`
|
||||
|
||||
- Extract pages from a PDF file:
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Write output of specified file to the specified host on the specified port:
|
||||
|
||||
`ncat {{address}} {{port}} < {{path/to/file}}`
|
||||
`ncat < {{path/to/file}} {{address}} {{port}}`
|
||||
|
||||
- Accept multiple incoming connections on an encrypted channel evading detection of traffic content:
|
||||
|
||||
|
||||
33
tldr/linux/pkgstats
Normal file
33
tldr/linux/pkgstats
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pkgstats
|
||||
|
||||
> Submit and view Arch Linux package popularity statistics.
|
||||
> More information: <https://github.com/archlinux-de/pkgstats-cli#usage>.
|
||||
|
||||
- Send installed package data:
|
||||
|
||||
`pkgstats submit`
|
||||
|
||||
- View the sent data:
|
||||
|
||||
`pkgstats submit {{[-d|--dump-json]}}`
|
||||
|
||||
- Search for packages:
|
||||
|
||||
`pkgstats search {{search_term}}`
|
||||
|
||||
- Limit search result count (10 by default):
|
||||
|
||||
`pkgstats search {{search_term}} {{[-l|--limit]}} {{count}}`
|
||||
|
||||
- Pick packages for comparison:
|
||||
|
||||
`pkgstats show {{package1 package2 ...}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pkgstats {{[-h|--help]}}`
|
||||
@@ -6,7 +6,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# postfix
|
||||
|
||||
> Postfix mail transfer agent (MTA) control program.
|
||||
> See also: `dovecot`, a mail delivery agent (MDA) that integrates with Postfix.
|
||||
> More information: <https://www.postfix.org/postfix.1.html>.
|
||||
|
||||
- Check the configuration:
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Search SELinux policy rules.
|
||||
> Part of the `setools` package.
|
||||
> See also: `seinfo`, `semodule`.
|
||||
> See also: `semodule`.
|
||||
> More information: <https://manned.org/sesearch>.
|
||||
|
||||
- Search for all allow rules:
|
||||
|
||||
@@ -6,7 +6,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# swww
|
||||
|
||||
> Efficient animated wallpaper daemon for Wayland.
|
||||
> See also: `swww-daemon`.
|
||||
> More information: <https://github.com/LGFae/swww#usage>.
|
||||
|
||||
- Set wallpaper:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemctl import-environment
|
||||
|
||||
> Import environment variables from the shell into systemd's environment.
|
||||
> See also: `show-environment`, `unset-environment`.
|
||||
> See also: `systemctl show-environment`, `systemctl unset-environment`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20import-environment%0A%20%20%20%20%20%20%20%20%20%20%20%20VARIABLE%E2%80%A6%0A%20%20%20%20%20%20%20%20%20%20>.
|
||||
|
||||
- Import a variable:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# urpmi
|
||||
|
||||
> Install packages in Mageia.
|
||||
> See also: `urpm.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
|
||||
> See also: `urpmi.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
|
||||
> More information: <https://man.linuxreviews.org/man8/urpmi.8.html>.
|
||||
|
||||
- Install a package from the repository or from a local RPM file:
|
||||
|
||||
Reference in New Issue
Block a user