Skip to content

Instantly share code, notes, and snippets.

@shamsher327
Created June 8, 2019 12:56
Show Gist options
  • Save shamsher327/92e034516153c95cb6955a69856504f8 to your computer and use it in GitHub Desktop.
Save shamsher327/92e034516153c95cb6955a69856504f8 to your computer and use it in GitHub Desktop.
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024;sudo /sbin/mkswap /var/swap.1;sudo /sbin/swapon /var/swap.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment