摘要: #!/bin/bash# author by syskcat << EOFd|D) show disk usages.m|M) show memory usages.s|S) show swap usages.*) quitEOFread -p "Your choice:" CHOICEcase $... 阅读全文
posted @ 2015-08-22 17:39 夨忆′ 阅读(167) 评论(0) 推荐(0)
摘要: #!/bin/bash#author by syskread -p "Plese input service:" SERVICE service $SERVICE status &>/dev/null STATUS=$?while [ $STATUS -eq 0 ]; do e... 阅读全文
posted @ 2015-08-22 16:45 夨忆′ 阅读(202) 评论(0) 推荐(0)
摘要: #!/bin/bash# author by syskread -p "There files: " FILE1 FILE2 FILE3read -p "Destination:" DESTread -p "Compress[gzip|bzip2|xz]" COMPcase $COMP in gz... 阅读全文
posted @ 2015-08-22 15:22 夨忆′ 阅读(265) 评论(0) 推荐(0)
摘要: #!/bin/baship_mod=$1mask_mod=$2gw_mod=$3dns_mod=$4hostname_mod=$5hosts=/etc/hostsifcfg=/etc/sysconfig/network-scripts/ifcfg-eth1network=/etc/sysconfig... 阅读全文
posted @ 2015-08-22 15:21 夨忆′ 阅读(496) 评论(0) 推荐(0)