2020
10-10
10-10
一键配置本地yum源的shell脚本
效果如图:代码#!/bin/bash#Author:GaoHongYu#QQ:1061767621#Time:2019-12-2616:30:19#Name:yumgz.sh#Version:V1.0CKGZ=$(df-Th|grep-o"iso9660")KJGZ=$(cat/etc/fstab|grep-o"iso9660")read-p"欢迎使用Yum自动挂载脚本,y开始|n退出:"xwif[$xw==y];thenecho"$CKGZ"&>/dev/nullif["$CKGZ"=='iso9660'];thenecho"检测到您的光盘已挂载"elif[$?-ne0];thene...
继续阅读 >