Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-29 00:18:23 +00:00
parent a3692d638b
commit 75f807d6af
175 changed files with 1107 additions and 775 deletions

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Check if zram is enabled:
`lsmod | grep -i zram`
`lsmod | grep {{[-i|--ignore-case]}} zram`
- Enable zram with a dynamic number of devices (use `zramctl` to configure devices further):
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Find and initialize the next free zram device to a 2 GB virtual drive using LZ4 compression:
`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}`
`sudo zramctl {{[-f|--find]}} {{[-s|--size]}} {{2GB}} {{[-a|--algorithm]}} {{lz4}}`
- List currently initialized devices: