tldr/pages/linux/dphys-swapfile.md

17 lines
318 B
Markdown

# dphys-swapfile
> Manage the swap file on Debian-based Linux systems.
> More information: <https://manpages.debian.org/latest/dphys-swapfile/dphys-swapfile.html>.
- Disable the swap file:
`dphys-swapfile swapoff`
- Enable the swap file:
`dphys-swapfile swapon`
- Create a new swap file:
`dphys-swapfile setup`