#!/usr/bin/env bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH clear echo "#=========================================================" echo "# System Required: CentOS 6/7+ Debian 6/7+ Ubuntu 14.04+" echo "# Description: Linux系统初始化脚本" echo "# Version: 3.6.0" echo "# Author:Chuyio" echo "# Date:18/06/2017" echo "# Blog:https://www.cnblogs.com/chuyiwang" echo "# Github:https://github.com/Chuyio" echo "#=========================================================" CENTOS_VERSION=`cat /etc/redhat-release | awk -F'release' '{print $2}' | awk -F'[ .]+' '{print $2}'` STDOUT=`>/dev/null 2>&1` GREEN_FONT_PREFIX="