Using PS2

suggest change

PS2 is displayed when a command extends to more than one line and bash awaits more keystrokes. It is displayed too when a compound command like while…do..done and alike is entered.

export PS2="would you please complete this command?\n" 
# now enter a command extending to at least two lines to see PS2

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents