Bootcamp 2.6
Jump to: navigation, search

Bootcamp 2.6

Previous Section: Command Line Format

Student Notes

The Bourne, Korn, and POSIX shells support interactive multiline commands. If the shell requires more input to complete the command, the secondary prompt (>) will be issued after you enter the carriage return. Some commands require closing commands, and some characters require a closing character. For example, an opening if requires fi to close, opening parentheses require closing parentheses, and likewise an opening apostrophe requires a closing apostrophe.

If you enter a command incorrectly, as illustrated on the slide, the shell will issue you a secondary prompt. A special key sequence should be defined to interrupt the currently executing program. Commonly [Ctrl] + [c] will terminate the currently running program and return the shell prompt. You can issue the "stty -a" command to confirm the interrupt key sequence for your session.

Next Section: The Manual

This page was last modified on 3 September 2008, at 01:14. This page has been accessed 879 times.