Skip to content

Instantly share code, notes, and snippets.

@linuxkathirvel
Created April 16, 2018 09:44
Show Gist options
  • Save linuxkathirvel/414e7ad3b9cf9dc6aba685bd4cfe3186 to your computer and use it in GitHub Desktop.
Save linuxkathirvel/414e7ad3b9cf9dc6aba685bd4cfe3186 to your computer and use it in GitHub Desktop.

Enable swap in Linux

  1. Uncomment swap entry in /etc/fstab file, if comment.
  2. Run sudo mount -a; sudo swapon --all --verbose
  3. Check with free -h command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment