> For the complete documentation index, see [llms.txt](https://docs.mydbsync.com/cloud-replication-main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mydbsync.com/cloud-replication-main/utilities/command-line.md).

# Command Line

DBSync Cloud Replication now comes with "admin" utilities to assist users using Linux/Unix environments. These are provided to assist in setting up and verify configuration in profiles.

#### Setting up <a href="#commandline-settingup" id="commandline-settingup"></a>

<\<dbsync-install>>/scripts contain admin.bat and admin.sh to run the commands. Verify

1. SYNCH\_HOME points to your dbsync install directory
2. JAVA\_HOME points to your JRE/JDK installation

For Linux users

1. Provide run permission to admin.sh

   | `chmod \+x admin.sh` |
   | -------------------- |
2. If there are issue running admin.sh, try

   | `dos2unix admin.sh` |
   | ------------------- |
3. If error shows NoClassDefFound error, then very likely your shell script is unable to identify the install directory and construct CLASSPATH. Check with your admin or contact our support for further assistance.

#### Commands  <a href="#commandline-commands" id="commandline-commands"></a>

* [testconnection](/cloud-replication-main/utilities/command-line/testconnection.md)
* [showlicense](/cloud-replication-main/utilities/command-line/showlicense.md)
* [downloadlicense](/cloud-replication-main/utilities/command-line/downloadlicense.md)
* [diffschema](/cloud-replication-main/utilities/command-line/diffschema.md)
* [describe](/cloud-replication-main/utilities/command-line/describe.md)
* [verifypasswd](/cloud-replication-main/utilities/command-line/verifypasswd.md)
* [chpwd](/cloud-replication-main/utilities/command-line/chpwd.md)

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/utilities/command-line.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
