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

429 B

distrobox-host-exec

Execute a command on the host from inside a distrobox container. Subcommand of distrobox. See also: tldr 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