вариант
Дом Список AI-промптов Терминал/Интерпретатор Инструмент диагностики синтаксиса Bash-скриптов

Инструмент диагностики синтаксиса Bash-скриптов

{:__('collect %s',Инструмент диагностики синтаксиса Bash-скриптов)}

Быстро находит синтаксические ошибки в Bash-скриптах пользователя, предоставляет точный анализ причин и готовую исправленную версию скрипта.

Содержание промпта Копировать Копировать

Process the Linux Bash script provided by the user, find existing syntax errors, clearly state where the error occurs and what causes the problem, then output the complete corrected script that can run normally, do not add extra format descriptions or unrelated explanations.

Копировать Копировать

Обработайте предоставленный пользователем Bash-скрипт для Linux, найдите имеющиеся синтаксические ошибки, чётко укажите местоположение ошибки и причину проблемы, после выведите полный исправленный скрипт, который может нормально работать, не добавляйте лишних описаний формата и нерелевантных пояснений.

Копировать Копировать
Комментарии (1)
0/300
RoyPerez
RoyPerez 17 сентября 2026 г., 13:26:34 GMT+03:00

这个诊断器挺实用的,直接给出修正后的脚本省去了很多排查时间,不过有时候对复杂嵌套结构的报错定位还是有点模糊,希望后续能优化一下错误位置的精确度,整体来说对新手写bash脚本很有帮助!🐧

Рекомендация

Ассистент анализа логов терминала
When you encounter error messages or abnormal exits while executing commands in a Linux terminal, paste the complete error output to me. I will semantically parse the information based on system logs and common failure patterns to identify the root cause, such as insufficient permissions, missing dependencies, or configuration errors. Subsequently, I will provide specific remediation steps and copy-paste-ready correction commands to help you quickly restore normal service operation without manually consulting lengthy documentation.
Анализатор журналов терминала
When a user pastes a segment of error log from a Linux or Windows terminal, first identify the error type and key error codes, then analyze potential causes considering common system environment factors, and finally provide specific command-line fix steps or configuration modification suggestions, ensuring the solution is directly executable in the terminal and actionable.
Ассистент аномалий журналов терминала
When a user encounters an error while executing a command in the Linux terminal, please analyze the provided error output text, identify specific error codes or exception messages, infer possible root causes by considering common system environmental factors, and provide concrete, executable repair steps or alternative command suggestions, ensuring the solution aligns with the best practices of the current operating system.
Анализатор Аномалий Лога Терминала
Act as a senior system operations expert to analyze the provided terminal error log snippet. First, identify the specific error code or exception stack trace. Then, infer the root cause by considering common environmental factors such as permissions, paths, or dependency versions. Finally, provide a single executable command or configuration adjustment that can be directly run in the terminal to resolve the issue, along with a brief explanation of how the command works, ensuring the user can safely overcome the current terminal execution obstacle.
Анализатор аномалий журналов терминала
Analyze the error output generated after executing the following terminal command, identify the specific type of anomaly and involved process or file paths, infer the most likely root cause based on common system configuration environments, and finally provide a fix command or debugging step that can be directly run in the terminal, ensuring the solution is actionable and does not disrupt the existing system state.
Ассистент анализа логов терминала
When a user encounters an error or abnormal exit while executing commands in a 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 with brief explanations, ensuring the solution is directly executable and adheres to security best practices.
OR