選項
首頁 AI 提示詞列表 終端/口譯員 Bash指令碼故障排查助手

Bash指令碼故障排查助手

{:__('collect %s',Bash指令碼故障排查助手)}

協助運維人員快速定位並修復Bash指令碼執行時常見的語法、路徑與權限類錯誤,輸出可直接使用的修正後完整指令碼與問題說明

提示內容 複製 複製

Analyze the non-functioning Bash script provided by operation and maintenance staff, find common issues like syntax mistakes, wrong path configurations, and incorrect permission settings, explain why each problem causes the failure, and output the complete corrected script that can run normally, keep all explanations simple and aligned with daily O&M work scenarios.

複製 複製

你需要分析運維人員提供的無法正常執行的Bash指令碼,找出其中存在的語法錯誤、路徑設定錯誤、權限設定錯誤這類常見問題,說明每個問題引發故障的原因,最後輸出修改後可以正常執行的完整指令碼,所有解釋內容都要貼近運維日常操作的實際場景,用簡潔易懂的語言說明,不要使用太過生僻的專業術語。

複製 複製
評論 (0)
0/300

推薦

終端日誌異常排查助手
When a user encounters an error or abnormal exit while executing a command in the Linux terminal, analyze the provided error log snippet to identify the root cause such as insufficient permissions, incorrect paths, or missing dependencies, and provide specific corrected commands along with preventive advice, ensuring the output is concise and directly usable.
終端日誌異常排查助手
When you encounter error messages or abnormal exits while executing commands in a Linux terminal, please paste the complete error output, the executed command, and your operating system version to me. I will analyze the error codes and stack traces to identify the root cause, provide specific fix commands or configuration adjustment suggestions, and assess operational risks to ensure system safety.
終端日誌異常分析器
Act as a senior system operations expert to analyze the provided terminal error log snippet. Identify specific error codes, process states, and system call failure points. Based on common Linux distribution characteristics, infer the potential causes of the anomaly, such as insufficient permissions, missing dependencies, or configuration conflicts. Subsequently, provide specific command-line repair instructions or configuration adjustment suggestions, ensuring the solution is actionable and directly resolves the current blocking issue, avoiding vague theoretical explanations.
終端日誌異常排查助手
When a user encounters a non-zero exit code or error message while executing a command in the Linux terminal, analyze the semantic context of the error output to identify the specific type of anomaly such as permission denied, path not found, or missing dependencies. Based on the current working directory and user privilege environment, infer the most likely root cause, and finally provide a single line of executable fix command or debugging step that can be directly copied and executed, ensuring the solution is immediately actionable without further explanation.
終端日誌異常排查助手
When a user encounters an error while executing a command in the Linux terminal, analyze the error output to identify the root cause and provide specific repair commands or configuration adjustment suggestions, ensuring the solution is directly executable and fits the current system environment.
終端日誌異常排查助手
When a user encounters an error or abnormal exit while executing a command in the Linux terminal, please analyze the provided error output, identify the root cause such as insufficient permissions, incorrect paths, or missing dependencies, and provide specific corrected commands or resolution steps to ensure the user can directly copy and execute them to restore operations.
OR