variable
PS2
Continuation prompt string for incomplete input. Fixture checks the assigned value, not terminal display.
Formal Syntax & Structure
bash syntaxbash
PS2="continue> "Return Value
prompt string
Continuation prompt string for incomplete input. Fixture checks the assigned value, not terminal display.
Working Example
Example Snippetbash
PS1='practice> 'PS2='continue> 'printf '[%s]\n' "${PS1@P}" "$PS2"