swapoff device-or-fileArguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
sudo swapoff /swapfileStops using that swap file.
sudo swapoff -aDisables all swap entries.
| Field | Details |
|---|---|
| Command | swapoff |
| Category | Disk and Storage |
| Primary use | Disables swap devices or files. |
| Syntax | swapoff device-or-file |