This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tutorials:exec [2022/03/14 02:54] papa [Using EXEC] |
tutorials:exec [2022/03/14 19:32] lars old revision restored (2022/03/14 05:05) |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== Using EXEC ====== | ====== Using EXEC ====== | ||
- | Similarly to Unix shells, EXEC presents the user with a simple text-based command line interface. EXEC prints a prompt string (the default prompt is '' | + | Similarly to a Unix shell, EXEC presents the user with a simple text-based command line interface. EXEC prints a prompt string (the default prompt is '' |
+ | |||
+ | Commands are entered in the form: | ||
+ | |||
+ | * command | ||
+ | * one or more optional arguments or switches (separated from the command name and each other by one or more spaces) | ||
+ | * **Enter** key to indicated command input has been completed. | ||
+ | |||
+ | (Some commands also allow the input of [[# | ||
+ | |||
+ | Long commands can be continued to a second line by typing a hyphen ('' | ||
+ | |||
+ | EXEC then processes the command, possibly displaying output on the user's terminal. When command processing has been completed, EXEC displays a new prompt to indicate that it is ready for another command. | ||
+ | |||
+ | EXEC has several features that assist the user in entering commands. | ||
+ | |||
+ | ===== Command and argument list ===== | ||
+ | |||
+ | Pressing ''?'' | ||
+ | |||
+ | * At the EXEC prompt, pressing ''?'' | ||
+ | * In the middle of command name input, pressing ''?'' | ||
+ | * Elsewhere, pressing ''?'' | ||
+ | |||
+ | ===== Completion and guidewords ===== | ||
+ | |||
+ | During command entry, pressing **Esc** will complete partial commands | ||
+ | |||
+ | // | ||
+ | |||
+ | @diRECTORY (OF FILES) | ||
+ | |||
+ | ... and wait for the user to specify what files he wants listed, or press **Enter** to list all files in the current directory. | ||
+ | |||
+ | ===== Abbreviations ===== | ||
+ | |||
+ | Commands, arguments, and switches | ||
+ | |||
+ | Acceptable non-unique abbreviations have been defined for some commands: | ||
+ | |||
+ | ^ Command ^ Accepted | ||
+ | | CONTINUE | CON | | ||
+ | | CONNECT | CONN | | ||
+ | | EXECUTE | EX | | ||
+ | | EXPUNGE | EXP | | ||
+ | | LOGIN | LOG | | ||
+ | | LOGOUT | LOGO | | ||
+ | |||
+ | ===== Command line editing ===== | ||
+ | |||
+ | Use the following control keys to edit command text before pressing **Enter** (except for **Ctrl-H**). | ||
+ | |||
+ | | **Backspace** | Delete last-typed character to the left. | | ||
+ | | **Ctrl-R** | Retype current command line. | | ||
+ | | **Ctrl-U** | Erase current command line. | | ||
+ | | **Ctrl-W** | Erase previous word. | | ||
+ | | **Ctrl-H** | Reprint erroneous command up to error.< | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Subcommands ===== | ||
+ | |||
+ | To enter subcommands, | ||
- | [Put general information on using EXEC here. (Completion, | ||
====== Command Files ====== | ====== Command Files ====== |