tldr

My Linux cheatsheets, compatible with tldr

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
# Memory management

> Commands for managing memory.

- Clear swap:

`sudo swapoff -a && sudo swapon -a`

- Clear caches:

`echo 3 | sudo tee /proc/sys/vm/drop_caches`