> For the complete documentation index, see [llms.txt](https://leo4j.gitbook.io/amnesiac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leo4j.gitbook.io/amnesiac/sessions/core-commands/sync.md).

# Sync

Re-Sync Stream

The `Sync` command is used to re-sync the named pipe stream, ensuring that the output corresponds to the commands issued.&#x20;

Sync may be lost during operations for various reasons, and using this command helps maintain accurate and reliable communication between your session and the target system.

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2FupVDPhW1iEWkAnj9OYnr%2Fimage.png?alt=media&amp;token=49ba90f0-cdc3-4371-95d0-7fc9df8fe6da" alt=""><figcaption></figcaption></figure>
