Multiple choice technology operating systems

UNIX command to wait for a specified number of seconds before exit.

  1. sleep n

  2. sleep(n-1)

  3. snooze(n)

  4. snooze n

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

The sleep command in Unix pauses execution for a specified number of seconds. The basic syntax is 'sleep n' where n is the duration in seconds. This is commonly used in scripts to create delays or wait for specific intervals before proceeding.