sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile vim /etc/fstab /swapfile none swap sw 0 0
sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile vim /etc/fstab /swapfile none swap sw 0 0