sleep (target)

Wait before exiting (POSIX, toybox)

Syntax:

sleep duration

Runs on:

QNX OS

Options:

duration
Wait the specified amount of time before exiting. This option can be a decimal fraction.

An optional suffix can be used to specify the units of duration:

  • d — days
  • h — hours
  • m — minutes
  • s — seconds (default)

Description:

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: