Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-06 00:20:15 +00:00
parent 44318fb1ce
commit 1d12bf13f7
2 changed files with 30 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git local-commits
> Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`.
> Part of `git-extras.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-local-commits>.
- Show commits that haven't been pushed:

29
tldr/linux/mkinitfs Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# mkinitfs
> Generate an initramfs on Alpine Linux.
> More information: <https://manned.org/mkinitfs>.
- Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`:
`mkinitfs`
- Use a different configuration file:
`mkinitfs -c {{path/to/config}}`
- Compress the initramfs using the specified compression algorithm (default: gzip):
`mkinitfs -c {{gzip|xz|zstd|lz4|none}}`
- List files that will be included in the initramfs image:
`mkinitfs -l`
- List all available features:
`mkinitfs -L`