Skip to content

Instantly share code, notes, and snippets.

@thiagao0860
Created January 23, 2022 20:57
Show Gist options
  • Save thiagao0860/fbd0eb1749d12689affd4c6f50c6456d to your computer and use it in GitHub Desktop.
Save thiagao0860/fbd0eb1749d12689affd4c6f50c6456d to your computer and use it in GitHub Desktop.
Swap resize
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=8
sudo mkswap /swapfile
sudo swapon /swapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment