mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
14 lines
465 B
Markdown
14 lines
465 B
Markdown
![]() |
# 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`
|