免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库

动态

2016-05-11

  • 236848253 发表了新话题 2016-05-11 13:38
    正则表达式
    小弟想通过正则把: excel 吧里的22 和excel单独通过正则表达式匹配出来,求大牛帮看看
  • 236848253 发表了新话题 2016-05-11 12:02
    shell处理协助
    小弟有个数据如下: sendmail 小弟想吧 22匹配出来 里的数值是随机的 然后单独吧sendmail 匹配出来 求大牛们帮帮忙 例如 sendmail 使用(?[^\s]+)这 ...

2016-05-06

  • 236848253 发表了新话题 2016-05-06 12:00
    shell whilhe循环请教
    小弟写了一个while循环: cat $domain|while read line do cd /var/log/apache/ # echo $line >$bandwidth cat $line$time|$grep|awk '{print $9,$10}'|s ...

2016-05-05

  • 236848253 发表了新话题 2016-05-05 22:55
    shell脚本问题咨询
    小弟在脚本里如下: # date date1="`date '+%d/%B/%Y:%H:%M' -d '-5 minute'`" date="`date '+%d/%B/%Y:%H:%M'`" # dl14="dl14.test.com_ac ...
  • 236848253 发表了新话题 2016-05-05 15:55
    date 1970的时间
    小弟想取每天早上08:00:00距离1970时间的算法,date +%s是实时的,请大牛帮看看
  • 236848253 发表了新话题 2016-05-05 11:32
    shell计算求解
    356 200 80629 183 200 81290 182 200 52139 127 200 127283 122 200 32327 82 404 - 76 200 116931 69 200 52531 ...

2016-02-29

  • 236848253 发表了新话题 2016-02-29 17:39
    日志正则匹配
    小弟有个问题咨询一下: Feb 29 17:26:16 sa2xxb002 sshd[17965]: Received disconnect from 192.168.13.137: 11: disconnected by user 以上这条linux的登陆 ...

2015-12-02

  • 236848253 发表了新话题 2015-12-02 11:35
    she'll 菜鸟问题咨询
    大牛们,小弟请求个问题: 我现在有个文本里面是服务器的端口,例如: 01,xxx-pc,25,80,111,333,777,8999 我想写个循环,根据读取文本里第三列开始的这 ...

2015-11-20

  • 236848253 发表了新话题 2015-11-20 15:48
    shell 菜鸟问题咨询
    大牛们,小弟这shell里有2条命令 dufile="/tmp/port_list.csv" local_port="/tmp/local.txt" hostname=`hostname` cat $dufile |grep -e $hostnam ...
  • 236848253 发表了新话题 2015-11-20 14:40
    shell新手问题请教
    我这有个csv的文件,用shell去读对应的行, 1,abc,uu-u1,prod,25,80,111,333,5666,,,,,,,,,,111,123, 2,... 3..... 我需要在取第一行,第四列后的所有值不 ...