mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 23:41:44 +00:00
22 lines
374 B
Plaintext
22 lines
374 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# dphys-swapfile
|
|
|
|
> Manage the swap file on Debian-based Linux systems.
|
|
> More information: <https://manned.org/dphys-swapfile>.
|
|
|
|
- Disable the swap file:
|
|
|
|
`dphys-swapfile swapoff`
|
|
|
|
- Enable the swap file:
|
|
|
|
`dphys-swapfile swapon`
|
|
|
|
- Create a new swap file:
|
|
|
|
`dphys-swapfile setup`
|