1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00

swapoff: add page (#2003)

This commit is contained in:
Shashank Shekhar 2018-02-17 17:57:28 +05:30 committed by Owen Voke
parent b78c5184a6
commit 3d5fb28ceb

19
pages/linux/swapoff.md Normal file
View file

@ -0,0 +1,19 @@
# swapoff
> Disables device or file for swapping.
- Disable a given swap partition:
`swapoff {{/dev/sdb7}}`
- Disable a given swap file:
`swapoff {{path/to/file}}`
- Disable all swap areas:
`swapoff -a`
- Disable swap by label of a device or file:
`swapoff -L {{swap1}}`