Multiple choice technology operating systems

What key do you press to interrupt type command ?

  1. Press <CTRL>+C

  2. PRESS <CTRL>+M

  3. PRESS <CTRL>+D

  4. PRESS <CTRL>+Y

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In VMS (OpenVMS), Ctrl+Y is the standard interrupt/abort key used to stop command execution. When a TYPE command is displaying file contents, pressing Ctrl+Y will interrupt and terminate the display, making it the correct answer for interrupting the TYPE command specifically.

AI explanation

On OpenVMS, Ctrl+Y is the interrupt key: pressing it aborts whatever image (program) is currently running — including a TYPE command displaying a file — and forcibly returns control to the DCL command prompt, regardless of whether the running program is set up to trap interrupts. This differs from Ctrl+C, which sends an interrupt signal that a well-behaved program can catch and handle gracefully (so it doesn't guarantee stopping a stuck TYPE display). Ctrl+M is simply a carriage return/Enter, and Ctrl+D signals end-of-file/logout, neither of which interrupts a running command. So for forcibly breaking out of an in-progress command like TYPE, Ctrl+Y is the correct key.