HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

distrobox-host-exec — Execute a command on the host from inside a Distrobox container. See also: `distrobox`. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandfromexecutedistrobox-host-execclihost
linux

Problem

How to use the distrobox-host-exec command: Execute a command on the host from inside a Distrobox container. See also: distrobox. More information: <https://distrobox.it/usage/distrobox-host-exec/>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/distrobox-host-exec

Revisions (0)

No revisions yet.