sleep

Suspends the shell for a number of seconds

Description

sleep is an optional builtin which suspends the shell for a defined number of seconds.

Usage

sleep integer

Examples

» sleep 5
# murex sleeps for 5 seconds

Detail

sleep is very simplistic - particularly when compared to its GNU coreutil (for example) counterpart. If you want to use the sleep binary on Linux or similar platforms then you will need to launch with the exec builtin:

» exec sleep 5

See Also


This document was generated from builtins/optional/time/sleep_doc.yaml.

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Wed Jan 15 23:07:50 UTC 2025 against commit b4c4296b4c429617fd41527ea0efef33c52c15ef2b64972.

Current version is 6.4.2063 (develop) which has been verified against tests cases.