From 6f17a1d087a2f1f407f962f2a8296356f726accb Mon Sep 17 00:00:00 2001 From: MDecker-MobileComputing Date: Sun, 14 Nov 2021 02:32:00 +0100 Subject: [PATCH] dphys-swapfile: add page (#7386) --- pages/linux/dphys-swapfile.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/dphys-swapfile.md diff --git a/pages/linux/dphys-swapfile.md b/pages/linux/dphys-swapfile.md new file mode 100644 index 000000000..33cc91062 --- /dev/null +++ b/pages/linux/dphys-swapfile.md @@ -0,0 +1,16 @@ +# dphys-swapfile + +> Manage the swap file on Debian-based Linux systems. +> More information: . + +- Disable the swap file: + +`dphys-swapfile swapoff` + +- Enable the swap file: + +`dphys-swapfile swapon` + +- Create a new swap file: + +`dphys-swapfile setup`