Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-12 00:16:39 +00:00
parent b0756d672e
commit 9e6dfc9983
21 changed files with 277 additions and 24 deletions

View File

@@ -0,0 +1,23 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# abrt-action-analyze-backtrace
> Analyze C/C++ backtrace.
> Generate duplication hash, backtrace rating, and identify crash function.
> Save the data as new elements `duphash`, `rating`, `crash_function` in the problem directory.
> More information: <https://manned.org/abrt-action-analyze-backtrace>.
- Analyze backtrace for the current working directory:
`abrt-action-analyze-backtrace`
- Analyze backtrace for a specific directory:
`abrt-action-analyze-backtrace -d {{path/to/directory}}`
- Analyze backtrace verbosely:
`abrt-action-analyze-backtrace -v`

View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# abrt-action-analyze-c
> Calculate UUID for a problem data directory with `coredump`.
> More information: <https://manned.org/abrt-action-analyze-c>.
- Calculate and save the UUID for the current working directory:
`abrt-action-analyze-c`
- Calculate and save the UUID for a specific directory:
`abrt-action-analyze-c -d {{path/to/directory}}`
- Calculate and save the UUID verbosely:
`abrt-action-analyze-c -v`

29
tldr/linux/bleachbit Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# bleachbit
> Clean junk files on the filesystem.
> More information: <https://docs.bleachbit.org/doc/command-line-interface.html>.
- Start the graphical user interface (GUI) version of Bleachbit:
`bleachbit --gui`
- Shred a file:
`bleachbit --shred {{path/to/file}}`
- List available cleaner options:
`bleachbit --list-cleaners`
- Preview the files that will be deleted and other changes that will be made before actually performing the clean-up operation:
`bleachbit --preview {{--preset|cleaner1.option1 cleaner2.* ...}}`
- Perform the clean-up operation and delete files:
`bleachbit --clean {{--preset|cleaner1.option1 cleaner2.* ...}}`

14
tldr/linux/diffimg Normal file
View File

@@ -0,0 +1,14 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# diffimg
> Calculate intersection between two images.
> Note: the supported extensions are `.png`, `.gif`, `.jpg`, `.ps`.
> More information: <https://manned.org/diffimg>.
- Calculate the intersection between images and output an image where each pixel is the difference between corresponding pixels in input images:
`diffimg {{path/to/input_image1.ext}} {{path/to/input_image2.ext}} {{path/to/output_image.ext}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gummy
> Screen brightness/temperature manager for Linux/X11.
> More information: <http://web.archive.org/web/20230717200025/https://github.com/Fushko/gummy>.
> More information: <https://github.com/Gitoffthelawn/gummy>.
- Set the screen temperature to 3000K:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Find broken library links on the system.
> This tool is only available on Arch Linux.
> More information: <https://manned.org/extra/devtools/lddd.1>.
> More information: <https://manned.org/lddd>.
- Scan directories to find and list packages with broken library links that need to be rebuilt:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pacman
> Arch Linux package manager utility.
> See also: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`.
> See also: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://manned.org/pacman.8>.

26
tldr/linux/pdfattach Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pdfattach
> Add a new attachment (embedded file) to an existing PDF file.
> See also: `pdfdetach`, `pdfimages`, `pdfinfo`.
> More information: <https://manned.org/pdfattach>.
- Add a new attachment to an existing PDF file:
`pdfattach {{path/to/input.pdf}} {{path/to/file_to_attach}} {{path/to/output.pdf}}`
- Replace attachment with same name if it exists:
`pdfattach -replace {{path/to/input.pdf}} {{path/to/file_to_attach}} {{path/to/output.pdf}}`
- Display help:
`pdfattach -h`
- Display version:
`pdfattach -v`

30
tldr/linux/pdfdetach Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pdfdetach
> List or extract attachments (embedded files) from a PDF file.
> See also: `pdfattach`, `pdfimages`, `pdfinfo`.
> More information: <https://manned.org/pdfdetach>.
- List all attachments in a file with a specific text encoding:
`pdfdetach list -enc {{UTF-8}} {{path/to/input.pdf}}`
- Save specific embedded file by specifying its number:
`pdfdetach -save {{number}} {{path/to/input.pdf}}`
- Save specific embedded file by specifying its name:
`pdfdetach -savefile {{name}} {{path/to/input.pdf}}`
- Save the embedded file with a custom output filename:
`pdfdetach -save {{number}} -o {{path/to/output}} {{path/to/input.pdf}}`
- Save the attachment from a file secured by owner/user password:
`pdfdetach -save {{number}} {{-opw|-upw}} {{password}} {{path/to/input.pdf}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Search files from packages in the official repositories on Arch-based systems.
> See also: `pacman files`, describing the usage of `pacman --files`.
> More information: <https://manned.org/extra/pkgfile/pkgfile.1>.
> More information: <https://manned.org/pkgfile>.
- Synchronize the pkgfile database:

35
tldr/linux/unopkg Normal file
View File

@@ -0,0 +1,35 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# unopkg
> LibreOffice extensions manager.
> Download extensions from <https://extensions.libreoffice.org>.
> See also: `libreoffice`.
> More information: <https://manned.org/unopkg>.
- Add and deploy given extension:
`unopkg add {{path/to/extension}}`
- Remove extension:
`unopkg remove {{extensions_id}}`
- Display information about deployed extensions:
`unopkg list`
- Raise extensions dialog (GUI):
`unopkg gui`
- Reinstall all deployed extensions:
`unopkg reinstall`
- Display help:
`unopkg {{-h|--help}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Initialize Waydroid (required on first run or after reinstalling Android):
`waydroid init`
`sudo waydroid init`
- Install a new Android app from a file: