Amazon Q
Detector Library
Sign in to Amazon Q
AWS
Documentation
Amazon Q
Detector Library
Shell
Severity
Severity Low
Feedback
Q
Detector Library
Shell detectors
(16/16)
Avoid LS-Grep
Sudo Redirect Misuse
Incorrectly used escape sequences
Expr Modernization
Unquoted Special Parameters
Single-Iteration Loop
Prefer Find Over LS
Avoid Complex Logical Expressions
Unquoted Array Expansion
PS Grep Alternative
Unquoted Find Patterns
Unnecessary Variable Expansion
Use of if and then
Read Lines with While Loop
Incorrect Quoting in Trap Commands
Command Substitution Syntax
Low
Showing all detectors for the Shell language with low severity.
Avoid Complex Logical Expressions
Don't use' A && B || C' as a substitute for if-then-else constructs.
Unnecessary Variable Expansion
Avoid unnecessary dollar signs in arithmetic expressions.