---

How to Create a Swap File in Linux

A better alternative to a typical swap partition is to use a swap file, which is similar but gives you more control. Here’s how to create a swap file in Linux.

Get the Free Newsletter!

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