02 2022 档案
摘要:引用于:https://www.cnblogs.com/miracle-luna/p/13202391.html 方式1(推荐使用): 1)按照文件大小进行降序排列 ll -hS 2)按照文件大小进行升序排列 ll -hrS 说明:加上 r 表示倒序排序 方式2: 1)按照 B(字节)单位转换排序(
阅读全文
摘要:引用于:http://www.blogjava.net/zhyiwww/archive/2009/01/21/252170.html [root@mail ~]# grep 'usrquota\|grpquota' /etc/fstabLABEL=/1 / ext3 defaults,usrquot
阅读全文
摘要:for (( j=2;j<4;j++ )) do #echo ${barringtype[$j]} ${listtype[$j]} if [[ $barry1 = ${barringtype[$j]} ]] && [[ $list1 = ${listtype[$j]} ]]; then let mo
阅读全文
摘要:if [[ $barry1 = ${barringtype[$j]} ]] && [[ $list1 = ${listtype[$j]} ]]; then let mod++ fi
阅读全文
摘要:sed ‘/pattern/!p’ infile //匹配pattern的行不输出sed -n ‘1,2p’ infile //print line 1 to 2sed -n ‘2,$p’ file //print line 2 to end of line
阅读全文
摘要:tail -n+2 file 输出第二行到最后一行 tail -n+3 file 输出第三行到最后一行 示例图如下:
阅读全文
摘要:awk -F'|' '{if ( $18 == 11 && $24 == 7) print $0 }' file 判断第18列=11以及第24列等于7,输出整行
阅读全文
摘要:https://blog.csdn.net/weixin_39218743/article/details/88818069
阅读全文
摘要:生成ssl keytool -genkey -alias tomcat -keyalg RSA -keystore /imsfz/HSAM/tomcat.keystore 输入keystore密码: 再次输入新密码: 您的名字与姓氏是什么? [Unknown]: free4lab 您的组织单位名称是
阅读全文
摘要:链接:https://blog.csdn.net/magerguo/article/details/80451431 引言 使用HTTP(超文本传输)协议访问互联网上的数据是没有经过加密的。也就是说,任何人都可以通过适当的工具拦截或者监听到在网络上传输的数据流。但是有时候,我们需要在网络上传输一些安
阅读全文
摘要:#user nobody;worker_processes 4;worker_rlimit_nofile 65535; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;
阅读全文
摘要:配置文件名:/etc/keepalived/keepalived.conf 参数:priority 根据优先级不同,浮动地址会飘到不同主机, 配置文件格式如下: ! Configuration File for keepalived global_defs { router_id lb} vrrp_
阅读全文
摘要:软件测试工程师经典面试题 https://zhuanlan.zhihu.com/p/259311611 测试工程师 笔试面试题 https://blog.csdn.net/weixin_45266979/article/details/122249045 https://www.cnblogs.co
阅读全文