上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: typeset用于设置变量属性,如大小写,宽度,左右对齐等都可以用typeset来控制, 当用typeset改变一个变量的属性时,这种改变是永久的,下面以ksh为例,演示typeset的几种典型用法 1,无选项的执行typeset,则显示所有变量 1 [root@localhost restore] 阅读全文
posted @ 2019-12-04 12:01 凌空a 阅读(3219) 评论(0) 推荐(0) 编辑
摘要: bashdb工具的官网:http://bashdb.sourceforge.net/ #还有其它的调试工具。 bashdb源码下载路径:https://sourceforge.net/projects/bashdb/files/bashdb/4.4-1.0.1/ bashdb编译和安装请参考bash 阅读全文
posted @ 2019-12-03 17:23 凌空a 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 1. 使用bash -x bash -x打印出脚本执行过程中的所有语句like: 1 $ bash -x test.sh 2 + echo begin 3 begin 4 + awk '{sum+=1} END{print sum}' test.sh 5 14 6 + MAX=3 7 + (( i 阅读全文
posted @ 2019-12-03 17:21 凌空a 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: 1.python3版本的安装过程: 1 [root@localhost wireshark-3.0.6]# yum install python3 2 已加载插件:fastestmirror 3 Loading mirror speeds from cached hostfile 4 * base: 阅读全文
posted @ 2019-12-03 09:50 凌空a 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weiyuefei/article/details/71480140 阅读全文
posted @ 2019-12-03 09:32 凌空a 阅读(1512) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://blog.csdn.net/jewelsu/article/details/99286161 如下这种段错误分析流程: 1 Nov 29 01:01:01 localhost systemd: Starting Session 41 of user root. 2 Nov 阅读全文
posted @ 2019-12-02 20:21 凌空a 阅读(2543) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://blog.csdn.net/lanmolei814/article/details/37725999/ 阅读全文
posted @ 2019-12-02 16:53 凌空a 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 选项 1 -b:仅显示行中指定直接范围的内容; 2 3 -c:仅显示行中指定范围的字符; 4 5 -d:指定字段的分隔符,默认的字段分隔符为“TAB”; 6 7 -f:显示指定字段的内容; 8 9 -n:与“-b”选项连用,不分割多字节字符; 10 11 --complement:补足被选择的字节、 阅读全文
posted @ 2019-11-30 13:26 凌空a 阅读(97) 评论(0) 推荐(0) 编辑
摘要: ulimit 是一个计算机命令,用于shell启动进程所占用的资源,可用于修改系统资源限制 命令常用参数 1 -H 设置硬资源限制. 2 -S 设置软资源限制. 3 -a 显示当前所有的资源限制. 4 -c size:设置core文件的最大值.单位:blocks 5 -d size:设置数据段的最大 阅读全文
posted @ 2019-11-29 10:21 凌空a 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 网卡信息 1 [root@localhost ~]# ifconfig 2 ens10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 3 inet6 fe80::e187:ded2:a0f5:171 prefixlen 64 scopeid 阅读全文
posted @ 2019-11-27 15:20 凌空a 阅读(2980) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页