mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 23:51:27 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/create-image
Normal file
17
tldr/linux/create-image
Normal 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]}}`
|
||||
@@ -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]}}`
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user