摘要:
转至:https://blog.csdn.net/weixin_34408717/article/details/85527305?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~all~first_rank_v2~ra 阅读全文
posted @ 2020-07-27 15:47
study_goup
阅读(804)
评论(0)
推荐(0)
摘要:
本文原创,转载请标明出处 https://blog.csdn.net/qq2531246791/article/details/89036084 一、 赋予可执行权限 chmod +x /etc/rc.d/rc.local 二、 编辑启动文件 vim /etc/rc.d/rc.local 三、 在 阅读全文
posted @ 2020-07-27 15:32
study_goup
阅读(377)
评论(0)
推荐(0)
摘要:
用shell编写的一个脚本,执行的时候报错:syntax error: unexpected end of file! 发生这种报错有两种原因: 第一种: 如果你是用 windows 系统编写的脚本,那么就有可能是 fileformat 类型不同!可能是 fileformat=dos ,那么你需要把 阅读全文
posted @ 2020-07-27 15:11
study_goup
阅读(5654)
评论(0)
推荐(0)
摘要:
Linux利用nc命令脚本批量检测服务器指定端口是否开放 一、nc命令检测端口的用法 # nc -v -w 10 %IP% -z %PORT% -v 显示指令执行过程。 -w <超时秒数> 设置等待连线的时间。 -u 表示使用UDP协议 -z 使用0输入/输出模式,只在扫描通信端口时使用。 例如:检 阅读全文
posted @ 2020-07-27 13:44
study_goup
阅读(1834)
评论(0)
推荐(0)

浙公网安备 33010602011771号