🧀 Learn Linux

Advanced · Observation System

swapoff: Disable swap space

Syntax

swapoff device

Examples

sudo swapoff /swapfile

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands