...I'll do my best to explain everything as simple as possible.
We can change this by adding the swap file to our /etc/fstab file. Back up the /etc/fstab file in case anything goes wrong:sudo cp /etc/fstab /etc/fstab.bak Add the swap file information to the end of your /etc/