read -p "Please Enter a Message:" message
How can I add a line break after Message:?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I like Huang F. Lei’s answer, but if you don’t like the literal line break, this works:
Shows:
…where
_is where the cursor ends up. Note that since trailing newlines are usually dropped during command substitution, I’ve included the>afterward. But actually, your original question doesn’t seem to want that prompt bit, so:Shows
There has to be a better way, though.