set-option

verbose

Print input lines as they are read, rather than expanded execution trace.

Formal Syntax & Structure

bash syntaxbash
set -v; set +v

Return Value

shell option

Print input lines as they are read, rather than expanded execution trace.

Working Example

Example Snippetbash
printf '%s\n' 'printf ready' > demo.shbash -v demo.sh
Bash Reference