Multiple choice technology operating systems

What does the read command do while it waits for input?

  1. Tests for command-line arguments

  2. Shifts arguments to the left

  3. Exits the program

  4. Creates a pause in the program

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

The read command waits for user input from stdin, creating a pause in program execution until the user presses Enter. It does not test arguments, shift them, or exit the program.