当前位置: 首页 / 搜索关键词:G
在shell脚本中,发现case语句的一个问题。就是指定小写字母[a-z]和大写字母[A-Z]的这种方法不管用了。 出现如下情况:[root@station1 ~]# cat case.sh#!/bin/bashwhile :doecho
2022/07/10
提取oralce当天的alert log的shell脚本#/bin/sh#get alert of everyday#then name of file is everyday_alert.shdir=
2022/07/10
使用shell脚本计算Linux网卡流量,方法中最关键点: ifconfig $eth_name | grep bytes | awk '{print $6}' | awk -F : '{print $2}' 通过ifconfig eth
2022/07/10
环境:本地主机:ha01eth0: 192.168.1.100 //对外IP地址 远程主机:ha02eth0: 192.168.1.200 //对外IP地址 本地主机ha01配置: [root@ha01 /]# cd /etc/ssh[ro
2022/07/10
#!/bin/bash ping_monitor() { host_=(203 204 205 207 208 209 210 212 213 214 215 216 217 218 219 220 221) ping_c
2022/07/10
#!/bin/bash PING=`which ping` DATE=`date +%Y%m%d%H%M` TAIL=`which tail` LOG=./ping$DATE.log HOSTS=
2022/07/10
#!/bin/bash#********************************##2013-01-11 17:00:00 wanggy exp ##note:ping monitor ##******
2022/07/10
#!/bin/bash#2013-01-06 14:00:00 wanggy exp#note:ping monitorset -u#set -xping_fun(){ d_network=192.168.1 echo -n
2022/07/10
资讯推荐
热门最新
精品工具
你可能感兴趣的资讯
换一批