2022-10-18 02:43:45 +05:30
|
|
|
# distrobox-host-exec
|
|
|
|
|
2023-03-19 17:05:00 +05:30
|
|
|
> Execute a command on the host from inside a distrobox container.
|
2023-03-02 21:50:46 +05:30
|
|
|
> Subcommand of `distrobox`. See also: `tldr distrobox`.
|
|
|
|
> More information: <https://distrobox.privatedns.org/usage/distrobox-host-exec.html>.
|
2022-10-18 02:43:45 +05:30
|
|
|
|
2023-03-19 17:05:00 +05:30
|
|
|
- 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`
|