当前位置: 首页 / 搜索关键词:shell
代码一ubuntu与centos ubuntu:#!/bin/bashecho
2022/07/10
备份数据库的shell脚本一 #!/bin/bash#指定运行的脚本shell#运行脚本要给用户执行权限bakdir=/backupmonth=`date +%m`day=`date +%d`year=`date +%Y`hour=`dat
2022/07/10
备份网站内容 #!/bin/bash#指定运行的脚本shell#运行脚本要给用户执行权限bakdir=/backupmonth=`date +%m`day=`date +%d`year=`date +%Y`hour=`date +%k`m
2022/07/10
俺也是新手,写的有点老土,权当练手了,供初学的朋友们参考吧。 #!/bin/bashif [ $succ_ping -gt $((ping_count-1)) ];thenif [ -f ./alarm_file/alarm_$host ]
2022/07/10
#!/bin/bash#main---network=192.168.1ping_count=3IP=1:>IP_use:>IP_idle:>ping_actionecho
2022/07/10
#!/bin/bashdeclare gw=`route -n | grep -e '^0.0.0.0'`declare gwname=`echo $gw | grep -oe 'w*$'`declare gwip=`echo $gw |
2022/07/10
在 linux 中,/proc/$PID/status 文件提供了该进程资源(内存,堆栈,信号量,子父进程)的使用情况,虽然linux提供了不少查看内存的命令,但都是看整体的使用情况,无法对单个进程的内存使用情况进行查看。本文为大家提供的这
2022/07/10
一个简单的转换输出的shell脚本,从健盘输入 a,b,c 这种格式 输出如下格式:ac #!/bin/bashread -p '请输入:'echo $REPLY >.tmp5count=`grep -o ',' .tmp5 |wc -l
2022/07/10
资讯推荐
热门最新
精品工具
你可能感兴趣的资讯
换一批