#!/bin/bash dd if=/dev/zero of=/swap.file bs=1G count=1 chmod 0600 /swap.file mkswap /swap.file cat <<EOF>> /etc/fstab /swap.file none swap sw 0 0 EOF
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!