Detected Issues (4):
Line 1: Script does not enable "set -e" (errexit). Errors in commands will not halt script execution.WARNING
Suggested Fix: Add "set -euo pipefail" at top of script.
Line 2: Unquoted variable in "rm -rf $VAR". If VAR is empty, this expands to "rm -rf /".DANGER
Suggested Fix: Quote variable and check existence: rm -rf "${VAR:?var not set}/"
Line 3: "cd" command can fail silently, executing subsequent commands in unintended directory.WARNING
Suggested Fix: Use "cd <dir> || exit 1"
Line 4: Legacy backtick `cmd` syntax detected. Harder to nest and escape than $(cmd).INFO
Suggested Fix: Use modern $(cmd) expansion instead.
Fija esta herramienta en el panel lateral de tu navegador
Accede a esta utilidad en cualquier momento con Alt+M sin cambiar de pestaña. 100% offline y gratis.
How to use BASH Script Safety Linter
- 1Configure your parameters in the input form.
- 2Inspect the instant client-side calculated results.
- 3Copy the generated command or config snippet.
Private Client-Side Processing
Your data and server configurations never leave your browser.
Preguntas Frecuentes (FAQ)
¿Te resulta útil Herramienta Online BASH Script Safety Linter?¡Ayuda a otros desarrolladores a descubrir herramientas privadas y sin publicidad!
MiniToolDesk es 100% gratuito y en el navegador. Tu apoyo mantiene la web libre de anuncios.
Herramientas Relacionadas
Popular
Formateador y Embellecedor SQL
Formatea, sangra y embellece consultas SQL para MySQL, PostgreSQL y SQLite en memoria
Launch tool→
Hot
Depurador y Decodificador JWT
Decodifica, valida e inspecciona JSON Web Tokens (JWT) de forma segura en memoria local
Launch tool→
Popular
Conversor de YAML a JSON
Conversión bidireccional entre YAML y JSON con validación de sintaxis en tiempo real
Launch tool→
Hot
Conversor de Unidades para Desarrolladores
Conversión de almacenamiento (KB/KiB, MB/MiB, GB/GiB), CSS (px a rem), longitud y velocidad
Launch tool→