选项
首页 AI 提示词列表 终端/口译员 Bash脚本错误调试工具

Bash脚本错误调试工具

针对中小型DevOps场景下的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.

复制

你需要拿到用户提供的Bash脚本内容和对应的终端运行错误日志,通读完整内容后定位脚本中语法、逻辑或环境兼容问题,给出准确的问题原因描述,同时输出修改后的完整可运行脚本,不需要额外的流程说明,直接输出结果即可。

复制
评论 (0)
0/300

推荐

Linux命令行操作指南生成器
For daily Linux operation requests from users, output correct commands that can run directly in the terminal, add simple explanations for each part of the command, help beginners finish common tasks like file management, process checking, network configuration and software installation, and ensure commands follow the specification of most mainstream Linux distributions.
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.
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.
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.
OR