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