mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 05:51:29 +00:00
Update cheatsheets
This commit is contained in:
21
linux/dphys-swapfile
Normal file
21
linux/dphys-swapfile
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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://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`
|
||||
Reference in New Issue
Block a user