2022-10-17 22:13:45 +01:00
|
|
|
# distrobox-host-exec
|
|
|
|
|
2023-11-26 17:02:06 +00:00
|
|
|
> Execute a command on the host from inside a Distrobox container. See also: `tldr distrobox`.
|
2023-11-19 21:07:13 +00:00
|
|
|
> More information: <https://distrobox.it/usage/distrobox-host-exec>.
|
2022-10-17 22:13:45 +01:00
|
|
|
|
2023-11-26 17:02:06 +00:00
|
|
|
- Execute command on the host system from inside the Distrobox container:
|
2022-10-17 22:13:45 +01:00
|
|
|
|
|
|
|
`distrobox-host-exec "{{command}}"`
|
|
|
|
|
2023-03-02 16:20:46 +00:00
|
|
|
- Execute the `ls` command on the host system from inside the container:
|
2022-10-17 22:13:45 +01:00
|
|
|
|
|
|
|
`distrobox-host-exec ls`
|