51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

云服务器

shell 2>&1 输出重定向详解

shell 2>&1 输出重定向详解

厉飞雨 阅读(271) 评论(0) 赞(17)

<p>2&gt;&amp;1表明将文件描述符2(标准错误输出 stderr)的内容重定向到文件描述符1(标准输出 stdout),为什么1前面需要&amp;?当没有&amp;时,1会被认为是一个普通的文件,有&amp;表示重定向的目标不是一个文件,而是一个文件描述符。</p> <p><a href...

shell并发执行脚本

shell并发执行脚本

厉飞雨 阅读(456) 评论(0) 赞(18)

<p>shell并发执行脚本</p> <p><a href="https://blog.csdn.net/qq_45443879/article/details/131187456">shell实现多并发控制_shell 多线程并发执行-CSDN博客</a></p> <pre>...

统计shell脚本执行时间

统计shell脚本执行时间

厉飞雨 阅读(346) 评论(0) 赞(17)

统计Shell脚本执行时间,帮助分析改进脚本执行 用 date 相减 #!/bin/bash startTime=`date +%Y%m%d-%H:%M:%S` startTime_s=`date +%s` #这是执行代码 endTime=`date +%Y%m%d-%H:%M:%S` ...

xshell导出快速命令集

xshell导出快速命令集

厉飞雨 阅读(490) 评论(0) 赞(18)

<p>xshell导出 快速命令集</p> <p><img src="http://static.51tbox.com/static/2024-08-29/col/f96d0f751966c82ef2309fe8291f2d78/6faffc65745a4a3a8c6d479192bc8910.png.jpg" al...

终端for 循环 shell for

终端for 循环 shell for

厉飞雨 阅读(251) 评论(0) 赞(13)

<p>1# 1分钟内连续发送错误请求 5 次</p> <pre><code>for i in {1..3};do curl http://192.168.1.134/xxxxxx -I;done </code></pre> <p>2# 修改各节点的配置文件<br /> (1)brok...

xshell 跳转

xshell 跳转

厉飞雨 阅读(379) 评论(0) 赞(15)

[xshell](https://51tbox.com/ "View all posts in xshell") 跳转 xshell创建会话,从跳板机中直接跳转到指定的服务器 原文链接:https://blog.csdn.net/qq_33180069/article/details/113241519 ### 步骤: 1 ![](http://st...