> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/5.1.x/bot-settings/process-flow/component-of-workflow/execute-command.md).

# Execute Command

Execute command on the host by click button + and choose *'execute command'* component.

![Execute Command](/files/-MRTlnq1cArMQMxTYI2i)

**Component explanation :**

| Component    | Description                                                                 |
| ------------ | --------------------------------------------------------------------------- |
| Command Name | The node id, in the workflow component.                                     |
| Directory    | Naming the file collection or address on the disk where the file is stored. |
| Shell        | Command translator program typed, in the prompt.                            |

For Example : In this case, we will execute the ‘*testing.sh’* file in the *‘/opt’* directory, with a note that bash is an active shell.

![Test Execute Workflow](/files/-MRTm4AzZdgNVQdhmC0H)

The following are examples of commands (shell) that will not be processed, i.e :

1. ls
2. :(){:|:&};:
3. rm
4. /dev/
5. wget
6. mkfs
7. \>&#x20;
8. ^foo^bar
9. dd
10. char
11. chmod
12. cp
13. mv
14. scp
15. passwd

These commands are in command.block


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.3dolphins.ai/5.1.x/bot-settings/process-flow/component-of-workflow/execute-command.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
