mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 12:58:16 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user