Creating a Swap File in Linux

Опубликовано: 22 Апрель 2026
на канале: Datapioneer's Linux Unix Tech
165
like

In this video, I show how to go about creating a swap file in Linux post-installation rather than creating a swap partition during install and why this is advantageous. I also show how one can check the status of the swap once it is created.

CORRECTION To The Video: The sudo chmod 600 /swapfile command allows root (owner of the file) not datapioneer (user setup in the system) to rw this file as required. I incorrectly stated that datapioneer would be able to rw the /swapfile and no one else. I should have said root would be able to rw the file /swapfile and no one else.