Multiple choice technology operating systems

Command to wait for specified number of seconds before exit

  1. wait

  2. sleep

  3. pause

  4. None of the above

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

The 'sleep' command in Unix/Linux pauses execution for a specified number of seconds. 'wait' is used to wait for background processes to complete, and 'pause' is not a standard Unix command (though it exists in Windows). The syntax is typically 'sleep N' where N is the number of seconds.