> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keephq.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bash

> Bash provider allows executing Bash commands in a workflow, with a limitation for cloud execution.

## In workflows

This provider can be used in workflows.

As "step" to query data, example:

```yaml theme={null}
steps:
    - name: Query bash
      provider: bash
      config: "{{ provider.my_provider_name }}"
      with:
        timeout: {value}
        command: {value}
        shell: {value}
```

Check the following workflow example:

* [bash\_example.yml](https://github.com/keephq/keep/blob/main/examples/workflows/bash_example.yml)

## Connecting with the Provider

The Bash provider allows you to run Bash commands or scripts in your workflow. You can pass in any valid Bash command, and it will be executed in a local environment.

### **Cloud Limitation**

This provider is disabled for cloud environments and can only be used in local or self-hosted environments.

## Usefull Links

-[Bash Documentation](https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html)
