{
    "mode": "info",
    "parameter": "sleep",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/sleep/json",
    "generated": "2026-11-14T11:29:14Z",
    "sections": {
        "File: coreutils.info,  Node: sleep invocation,  Up: Delaying": {
            "content": "",
            "subsections": [
                {
                    "name": "25.1 'sleep': Delay for a specified time",
                    "content": "'sleep' pauses for an amount of time specified by the sum of the values\nof the command line arguments.  Synopsis:\n\nsleep NUMBER[smhd]...\n\nEach argument is a non-negative number followed by an optional unit;\nthe default is seconds.  The units are:\n\n's'\nseconds\n'm'\nminutes\n'h'\nhours\n'd'\ndays\n\nAlthough portable POSIX scripts must give 'sleep' a single\nnon-negative integer argument without a suffix, GNU 'sleep' also accepts\ntwo or more arguments, unit suffixes, and floating-point numbers in\neither the current or the C locale.  *Note Floating point::.\n\nFor instance, the following could be used to 'sleep' for 1 second,\n234 milli-, 567 micro- and 890 nanoseconds:\n\nsleep 1234e-3 567.89e-6\n\nAlso one could sleep indefinitely like:\n\nsleep inf\n\nThe only options are '--help' and '--version'.  *Note Common\noptions::.\n\nDue to shell aliases and built-in 'sleep' functions, using an\nunadorned 'sleep' interactively or in a script may get you different\nfunctionality than that described here.  Invoke it via 'env' (i.e., 'env\nsleep ...') to avoid interference from the shell.\n\nAn exit status of zero indicates success, and a nonzero value\nindicates failure.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}