1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/distrobox-host-exec.md

14 lines
465 B
Markdown
Raw Normal View History

# distrobox-host-exec
> Execute a command on host while inside a distrobox container.
> Subcommand of `distrobox`. More about distrobox: `tldr distrobox`.
> More information: <https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-host-exec.md>.
- Execute command on the host system, while inside of a container:
`distrobox-host-exec "{{command}}"`
- Execute `ls` command on the host system, while inside of a container:
`distrobox-host-exec ls`