Strange prompts

Sometimes, you may get a strange prompt. Here are some and the action to take:
$
You've entered the Bourne shell (probably by typing "sh"). Press [CTRL-D] at the beginning of a line to get out.
:
You're in the "ex" or "e" line editor. To get out, type "quit!".

Click here to go to the next section.

Or click here to go to the top of the chapter.