tldr/pages/linux/distrobox-host-exec.md

14 lines
446 B
Markdown
Raw Normal View History

# distrobox-host-exec
> Execute a command on the host from inside a distrobox container.
2023-03-02 16:20:46 +00:00
> Subcommand of `distrobox`. See also: `tldr distrobox`.
> More information: <https://distrobox.privatedns.org/usage/distrobox-host-exec.html>.
- Execute command on the host system from inside the distrobox container:
`distrobox-host-exec "{{command}}"`
2023-03-02 16:20:46 +00:00
- Execute the `ls` command on the host system from inside the container:
`distrobox-host-exec ls`