
shell脚本
七斗星
好了,就这样吧
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
侦测网内IP的使用
自己写的,拙劣,见谅!#!/bin/bash# program:# author:# history:export PATH# get network first 3 numberif [ "$1" == "" ];then read -p "input the ip first 3 number(eg: 192.168.1): " networkelse networ原创 2013-10-22 15:27:31 · 1185 阅读 · 0 评论 -
zenity 脚本设置系统日期和时间
记录于此,以便自己参考。==============================================================理论知识:设置系统日期和时间初始日期格式DATE="2010/08/20"得到新的格式: 08/2010/20NEWDATE=$(echo "$DATE" | awk --source 'BEGIN {FS="/"}' --source '{print原创 2013-10-22 15:27:50 · 1533 阅读 · 0 评论 -
脚本安装samba服务
自己写的,拙劣,见谅!#!/bin/bash# program:# setup samba# author:# chenjj# history:# 2011-07-31echo -e "samba service will be setup in this machine"until [ "$dest_ok" == 1 ]do # read sam原创 2013-10-22 15:27:29 · 1417 阅读 · 0 评论