选项
首页 AI 提示词列表 终端/口译员 Linux网络问题故障排查脚本生成

Linux网络问题故障排查脚本生成

为系统运维工程师生成可直接运行的Shell脚本,自动排查Linux服务器常见网络连接故障,输出清晰排查结果和修复建议。

提示内容 复制

Generate a directly runnable Shell script for Linux system administrators to automatically detect common network connection faults on servers, including network card status check, port listening verification, route reachability test and DNS resolution test. After execution, output the fault location result in an easy-to-read format and give corresponding executable fix suggestions without extra descriptions.

复制

你需要为Linux系统运维工程师生成一段可直接运行的Shell脚本,自动检测服务器常见的网络连接故障,包含网卡状态检查、端口监听验证、路由可达性测试和DNS解析测试,执行完成后按易读格式输出故障点定位结果,同时给出对应可执行的修复建议,不要生成多余说明内容。

复制
评论 (0)
0/300

推荐

Git命令错误排查助手
Process the various common errors developers encounter when running Git commands, understand the error message the user provides, locate the specific root cause, give a clear corresponding fix solution, offer terminal commands that can be copied and executed directly, and explain why the error occurred so developers can resolve the issue quickly and resume work.
Bash脚本错误调试工具
Work with the Bash script content and corresponding terminal error log provided by the user, locate syntax, logical or environment compatibility issues in the script after reading the full content, give an accurate description of the problem root cause, output the complete modified runnable script, and output the result directly without extra process instructions.
Python脚本bug定位工具
Check the small to medium Python script provided by the developer, find syntax mistakes and common runtime logic errors, output the complete fixed runnable code, and explain each error's cause and the modification idea in plain language.
Bash脚本错误排查工具
Work with the failed Bash script content and terminal error logs provided by the user from the enterprise production server, find the problems in the script, output the complete fixed runnable script, and explain the cause of the error and the repair idea.
Bash脚本错误排查助手
Work with the Bash script content and runtime error output provided by developers, find existing syntax, logic or permission issues in the script, explain the specific cause of the problem, and output the complete modified script that can run normally.
Linux运维错误日志排查工具
Work through error log text exported by operations staff from a Linux server terminal, sort through error messages and context to pinpoint the specific root cause of the issue, then output executable fix steps adapted to the matching Linux distribution, keep the description clear and do not add extra irrelevant content.
OR