Skip to content

Instantly share code, notes, and snippets.

@czuger
Created April 14, 2025 14:19
Show Gist options
  • Select an option

  • Save czuger/476ed57c0fc83d6b8fa08090aa93b60b to your computer and use it in GitHub Desktop.

Select an option

Save czuger/476ed57c0fc83d6b8fa08090aa93b60b to your computer and use it in GitHub Desktop.
Turn off swap on debian (raspberry pi)
sudo dphys-swapfile swapoff # If you don't want to reboot imediately.
sudo systemctl disable dphys-swapfile.service
sudo apt purge dphys-swapfile # No need for it now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment