Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-03 00:19:05 +00:00
parent 22a84b91e2
commit 921cbd312c
14 changed files with 55 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# blkid
> Lists all recognized partitions and their Universally Unique Identifier (UUID).
> List all recognized partitions and their Universally Unique Identifier (UUID).
> More information: <https://manned.org/blkid>.
- List all partitions:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# eu-readelf
> Displays information about ELF files.
> Display information about ELF files.
> More information: <https://manned.org/eu-readelf>.
- Display all extractable information contained in the ELF file:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# getcap
> Command to display the name and capabilities of each specified file.
> Display the name and capabilities of each specified file.
> More information: <https://manned.org/getcap>.
- Get capabilities for the given files:
@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
`getcap -r {{path/to/directory1 path/to/directory2 ...}}`
- Displays all searched entries even if no capabilities are set:
- Display all searched entries even if no capabilities are set:
`getcap -v {{path/to/file1 path/to/file2 ...}}`

25
tldr/linux/importctl Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# importctl
> Download, Import, or Export disk images.
> More information: <https://manned.org/importctl>.
- Download image in tarball format from a url via pull:
`sudo importctl pull-tar {{URL}} {{path/to/directory}}`
- Pull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file:
`sudo importctl pull-raw {{https://example.com/source.ext}} {{name}} --class={{machine|portable|sysext|confext}}`
- Import a raw disk image into the image directory that is possibly compressed with xz, gzip, or bzip2:
`importctl import-raw {{path/to/file.ext}} {{name}} --class={{machine|portable|sysext|confext}}`
- Export a container image as tarball into current working directory:
`importctl export-tar --class={{machine|portable|sysext|confext}} {{name}} {{path/to/file.ext}}`

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Initialize `kde-builder`:
`kde-builder --generate-config && kde-builder --install-distro-packages`
`kde-builder --initial-setup`
- Compile a KDE component and its dependencies from the source:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# lsblk
> Lists information about devices.
> List information about devices.
> More information: <https://manned.org/lsblk>.
- List all storage devices in a tree-like format:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# mkinitcpio
> Generates initial ramdisk environments for booting the Linux kernel based on the specified preset(s).
> Generate initial ramdisk environments for booting the Linux kernel based on the specified preset(s).
> More information: <https://manned.org/mkinitcpio.8>.
- Perform a dry run (print what would be done without actually doing it):