sudo nano /etc/fstab
If you open the /etc/fstab file, you will find an entry that looks similar to this:
UUID=76301bca-499e-4f6f-8094-c1de524d7608 none swap sw 0 0
sudo blkid
sudo swapon -a
References
https://www.techrepublic.com/blog/tr-dojo/create-and-enable-new-swap-space-on-a-linux-server/