HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dphys-swapfile — Manage the swap file on Debian-based Linux systems. More information: <https://manned.org/dphys-swap

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommanddphys-swapfileswapdebianclimanagefile
linux

Problem

How to use the dphys-swapfile command: Manage the swap file on Debian-based Linux systems. More information: <https://manned.org/dphys-swapfile>.

Solution

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

Code Snippets

Disable the swap file

dphys-swapfile swapoff

Enable the swap file

dphys-swapfile swapon

Create a new swap file

dphys-swapfile setup

Context

tldr-pages: linux/dphys-swapfile

Revisions (0)

No revisions yet.