# sleep (wait for specific time in the .script command)

### Command

> sleep

### Syntax

> sleep \[MillisecondsTime (hex)]

### Description

Waits for the specified time (in milliseconds).

### Parameters

**\[MillisecondsTime (hex)]**

The time that debugger should wait, in milliseconds.

### IOCTL

None

### Remarks

This command is used in batch script files when we want to gather information for a specific time and then execute the [**pause** ](https://docs.hyperdbg.org/commands/debugging-commands/pause)command or the [**unload** ](https://docs.hyperdbg.org/commands/debugging-commands/unload)command to stop the debugger.

### Requirements

None

### Related

[pause (break to the debugger and pause processing kernel packets)](https://docs.hyperdbg.org/commands/debugging-commands/pause)

[unload (unload the kernel modules)](https://docs.hyperdbg.org/commands/debugging-commands/unload)

[.script (run batch script commands)](https://docs.hyperdbg.org/commands/meta-commands/.script)
