Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-06 00:19:54 +00:00
parent e452860d9b
commit 7e39fb6df5
49 changed files with 132 additions and 93 deletions

17
tldr/linux/create-image Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# create-image
> Create CPIO images.
> More information: <https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools/create-image.c>.
- Create a CPIO archive from the current directory:
`create-image {{[-o|--output]}} {{path/to/output.cpio}}`
- Display help:
`create-image {{[-h|--help]}}`

View File

@@ -16,6 +16,18 @@ source: https://github.com/tldr-pages/tldr.git
`lscpu {{[-e|--extended]}}`
- Display only information about online CPUs in a table:
`lscpu {{[-e|--extended]}} {{[-b|--online]}}`
- Display only information about offline CPUs in a table:
`lscpu {{[-e|--extended]}} {{[-c|--offline]}}`
- Display details about CPU caches:
`lscpu {{[-C|--caches]}}`
- Display information in JSON format:
`lscpu {{[-J|--json]}}`

View File

@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
- List verbose information about USB devices:
`lsusb {{[-V|--verbose]}}`
`lsusb {{[-v|--verbose]}}`
- List detailed information about a USB device:
`lsusb {{[-V|--verbose]}} -s {{bus}}:{{device number}}`
`lsusb {{[-v|--verbose]}} -s {{bus}}:{{device number}}`
- List devices with a specified vendor and product ID only: