mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
1f45839f00
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
18 lines
453 B
Markdown
18 lines
453 B
Markdown
# lsinitcpio
|
|
|
|
> View the contents of an initramfs image.
|
|
> See also: `mkinitcpio`.
|
|
> More information: <https://manned.org/lsinitcpio>.
|
|
|
|
- View a list of all files and directories of a specific image:
|
|
|
|
`lsinitcpio {{path/to/initramfs.img}}`
|
|
|
|
- Extract an image to the current directory:
|
|
|
|
`lsinitcpio {{[-x|--extract]}} {{path/to/initramfs.img}}`
|
|
|
|
- View human-readable information on an image:
|
|
|
|
`lsinitcpio {{[-a|--analyze]}} {{path/to/initramfs.img}}`
|