[root@www ~]# cat 123.txt JDBC.URL=jdbc:oracle:thin:@127.0.0.1:1521:orclDBC.URL=jdbc:oracle:thin:@127.0.0.1:1521:orclDC.URL=jdbc:oracle:thin:@127.0.0.1:1521:orcl[root@www ~]# echo "`cat 123.txt |
cat 2.txt 18668331562 18668331562 13163033397 #csjdz54188 #13163033397 csjdz54188 #13163033397 csjdz54188 #13163033397 csjdz5418
1、tcpwrapper#!/bin/bash Fail_100=`/bin/grep 'Failed' /var/log/secure* | /bin/egrep -o '([0-9]{1,3}\.){3}[0-9]{1,3}' | /bin/sort | /usr/bin/uniq -
由于在使用DNS管理后台之前DNS记录是手动去写入的,记录格式有点乱。现在按格式整理DNS记录(A记录以及CNAME记录):domain TTL type dataw
cat /tmp/checkaliveip.sh #!/bin/bashfor num in {1..254}do( Host=192.168.110.$num# ping -c2 $Host &> /dev/null pin
一个同学在群上要求出计算1到100000中出现93的次数,然后,我就写脚本了。cat count.sh #!/bin/bash sum=0 for num in {1..100000} do echo $num | grep 93 [ $? -eq 0 ]
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号