# libtmux.Server:group

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/server.lua#L808
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-server-group/

```
group: fun(
  self: libtmux.Server,
  commands: string[][],
  options?: libtmux.CommandOptions,
):libtmux.Request<libtmux.CommandResult>
```

## Parameters

- `commands` (`string[][]`)
- `options` (`libtmux.CommandOptions?`)

## Guides

Pages that discuss `group`.

- [Execute tmux commands](/en/lua/v0.1.1/guides/commands/)
