#!/bin/bash # Deletes the swapfile created by mkswp() sudo swapoff -v /swapfile sudo rm /swapfile