Created
June 26, 2016 08:07
-
-
Save idlesign/7148e712ed330dd6a0e285b6915114bd to your computer and use it in GitHub Desktop.
Swap File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dd if=/dev/zero of=/swapfile bs=1024 count=524288 | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
sudo swapoff /swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment