Multiple choice technology operating systems

How many prompts are available in a UNIX system?

  1. 0

  2. 1

  3. 2

  4. 3

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

Unix shells have two standard prompts: PS1 (primary prompt, usually $) for normal commands and PS2 (secondary prompt, usually >) for multi-line command continuation. The question's phrasing 'how many prompts are available' is slightly ambiguous but 2 is the intended answer.