mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 13:26:05 +02:00
17 lines
318 B
Markdown
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`
|