Linux一键增加Swap脚本 2020-5-22 18:11 | 665 | 0 以下是代码 \#!/usr/bin/env bash Green="\033[32m" Font="\033[0m" Red="\033[31m" \#root权限 root_need(){ if [[ $EUID -ne 0 ]]; then echo -e "${Red}Error:This script must be run as ro… Swap