Skip to content

Instantly share code, notes, and snippets.

@williamsodell
Last active August 29, 2015 13:56
Show Gist options
  • Save williamsodell/9241326 to your computer and use it in GitHub Desktop.
Save williamsodell/9241326 to your computer and use it in GitHub Desktop.
#!/bin/bash
dd if=/dev/zero of=/extraswap bs=1M count=512
mkswap /extraswap
echo "/extraswap none swap sw 0 0" >> /etc/fstab
swapon -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment