Created
March 20, 2019 11:16
-
-
Save cmpscabral/e26882885f86314b81113aaf0d783c10 to your computer and use it in GitHub Desktop.
swap file memory
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
mkdir -p swap1 | |
cd swap1 | |
dd if=/dev/zero of=swapfile bs=1M count=2000 | |
mkswap swapfile | |
swapon swapfile | |
chmod 600 swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment