distrobox-host-exec
Execute a command on the host from inside a distrobox container. Subcommand ofdistrobox
. 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}}"
-
Execute the
ls
command on the host system from inside the container:
distrobox-host-exec ls
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.