Easy Tutorial
❮ Linux Comm Comm Linux Comm Apmd ❯

Linux mkswap Command

Linux Command Manual

The Linux mkswap command is used to set up a swap area.

mkswap can designate a disk partition or file as a Linux swap area.

Syntax

mkswap [-cf][-v0][-v1][device name or file][swap area size]

Parameters:

Linux Command Manual

❮ Linux Comm Comm Linux Comm Apmd ❯