Files
cheatsheet-tldr/tldr/linux/distrobox-host-exec
2025-12-20 00:20:53 +00:00

19 lines
490 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# distrobox-host-exec
> Execute a command on the host from inside a Distrobox container.
> See also: `distrobox`.
> More information: <https://distrobox.it/usage/distrobox-host-exec/>.
- Execute command on the host system from inside the Distrobox container:
`distrobox-host-exec "{{command}}"`
- Execute the `ls` command on the host system from inside the container:
`distrobox-host-exec ls`