mkswap /dev/sdb2

Category: Administration

mkswap /dev/sdb2

Set up a swap partition

Marks a partition as swap space — virtual memory that the system uses when RAM is full.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.