---

How To Use A Swap File Instead Of A Swap Partition On Linux

This article explains how to transition from having a swap partition to a swap file. If you don’t need to disable any existing swap partition and all you need is to create a swap file and activate it, simply skip steps 1 and 2.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis