Create swap file linux
Allocate 2G swap file, set permissions, format and enable
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile
more linux
all 133 commands →
Allocate 2G swap file, set permissions, format and enable
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile