标签: Swap

1 篇文章

Linux一键增加Swap脚本
以下是代码 \#!/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…