mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:55:44 +02:00
dphys-swapfile: add page (#7386)
This commit is contained in:
parent
c5b52b9b8c
commit
6f17a1d087
1 changed files with 16 additions and 0 deletions
16
pages/linux/dphys-swapfile.md
Normal file
16
pages/linux/dphys-swapfile.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue