摘要:
阅读全文
摘要:
练习1 题目 [root@iZ2ze3nk0eea4xli1fijrvZ awk]# cat file4811009123456 185451 40.WT_VERIFY_TX_ALL 2442(7) HT40-MCS7 CHAIN0-31.67 dB (-45.00 .............O.. 阅读全文
该文被密码保护。 阅读全文
摘要:
思路: 随机打印一个数字在awk 中使用rand()函数,但是如果只是用rand();就会出现如下情况, root@dashazi:~/dingxue# awk 'BEGIN{print rand()}' 0.237788root@dashazi:~/dingxue# awk 'BEGIN{prin 阅读全文
摘要:
[root@webserver /]# awk 'NR==FNR{a[FNR]=$0;next}/^bin/{$0=$0 a[++c]}1' aa bbroot bin 10.200.187.81 daemon root bin 10.200.187.82 daemon root bin 10.20 阅读全文
摘要:
logrotate 的配置文件 执行文件:/usr/sbin/logrotate主配置文件:/etc/logrotate.conf自定义配置文件:/etc/logrotate.d/*.conf 修改配置文件后,并不需要重启服务。由于logrotate实际上只是一个可执行文件,不是以daemon运行。 阅读全文
摘要:
2018-01-22 1、什么是素数? 除了1和他本身外,不能被任何数整除的整数叫素数。2是最小的素数。 2.思路 比如说打印1~20内的素数 总体概括:由他的定义出发,第一他肯定是个整数。第二就是最重要的,也就是我们的的判断方法,假如给定一个区间,我们怎么样去判断它是一个素数。这里的判断方法我们肯 阅读全文
摘要:
在共享完成密钥后出现如下情况 [root@python3_ansible python]# git push -u origin master Username for 'https://github.com': zcmdxj Password for 'https://zcmdxj@github. 阅读全文