Skip to main content

Create Swap Files or Partitions and Enable Them on Boot

Hands-On Lab


Photo of

Training Architect





Managing swap files and partitions on your systems will be a common system administration task. In this activity, the student will be asked to create and enable a swapfile with the 'dd' utility, enable it with the 'mkswap' and 'swapon' commands then configure the system so it is available on reboot. At the conclusion, the student will understand how to work with swap files when needed to augment system memory.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.