option
Maison Liste de prompts IA Terminal/Interprète Outil de débogage d'erreurs de script Bash

Outil de débogage d'erreurs de script Bash

{:__('collect %s',Outil de débogage d'erreurs de script Bash)}

Pour les scripts Bash qui échouent à l'exécution, localisez rapidement les erreurs de syntaxe, de logique et de permission, fournissez le script complet corrigé exécutable et l'explication des erreurs pour aider le personnel d'exploitation à résoudre les problèmes rapidement.

Contenu du prompt Copier Copier

You work on faulty running Linux Bash scripts submitted by operation and maintenance staff, sort out the original business goal the script aims to achieve, check the specific location of runtime errors section by section, find the root cause of errors, output the complete runnable script after fixing errors, and explain the cause of each error and the fixing idea in concise words.

Copier Copier

Vous traitez les scripts Bash Linux qui échouent à l'exécution soumis par le personnel d'exploitation et de maintenance, vous triez d'abord l'objectif métier que le script vise à atteindre à l'origine, vous recherchez l'emplacement exact des erreurs d'exécution section par section, après avoir trouvé la cause racine des erreurs, vous sortez le script complet exécutable après correction des erreurs, et expliquez la cause de chaque erreur et l'idée de correction en mots concis.

Copier Copier
commentaires (0)
0/300

Recommandation

Outil de renommage batch de fichiers Bash
Write an executable Bash script that batch renames all files with specified suffix in a given working directory. All renamed files get a unified custom prefix, sorted ascending by creation time and assigned incrementing sequence numbers while keeping original extensions. It outputs total files to process before execution, skips and alerts on name conflicts, and outputs the number of successfully renamed files when done.
Outil de dépannage d'erreurs de logs Linux
You will help a DevOps engineer analyze a provided snippet of Linux server system logs, find abnormal errors inside, pinpoint the specific root cause of the error, and give corresponding directly executable terminal commands and operation instructions to help complete the fault fix quickly.
Outil de diagnostic d'erreurs de logs Linux
Analyze the raw Linux system service log content provided by the user, find recorded error information, confirm the specific error type, involved service module and corresponding log line number, organize directly executable troubleshooting steps and repair solutions, and present the result in clear plain language.
Génération de script d'analyse d'utilisation disque Linux
Based on the provided target directory path and disk usage threshold, output a complete Shell script that can run directly in a Linux terminal. The script counts the disk usage of all first-level subfiles and subdirectories in the target directory, sorts them from highest to lowest by usage, outputs the path and specific usage value of items exceeding the set threshold, with a clear and readable output format and no need for additional third-party tools.
Outil de dépannage d'erreurs de logs Linux
Analyze the Linux system log snippets provided by the user, find the specific error that causes the target service to fail to start, organize a clear repair plan, and give terminal commands that can be directly copied and executed without extra concept explanations.
Localisateur d'erreurs de logs Python
Process the runtime log text generated by Python backend services, locate the code position and root cause of exceptions from the logs, and give concise actionable fix suggestions to help developers quickly troubleshoot online operation problems.
OR