LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

distrobox-host-exec

execute host commands from inside Distrobox container

TLDR

Execute command on host from inside container
$ distrobox-host-exec "[command]"
copy
Execute ls on the host
$ distrobox-host-exec ls
copy

SYNOPSIS

distrobox-host-exec [command] [arguments]

DESCRIPTION

distrobox-host-exec executes a command on the host system from inside a Distrobox container. This allows accessing host binaries and tools that aren't available inside the container.Useful for running host-specific commands like flatpak, snap, or system utilities from within the container environment.

PARAMETERS

command

Command to execute on host
arguments
Arguments to pass to the command

INSTALL

sudo dnf install distrobox
copy
sudo pacman -S distrobox
copy
sudo apk add distrobox
copy
sudo zypper install distrobox
copy
brew install distrobox
copy
nix profile install nixpkgs#distrobox
copy

CAVEATS

Only works from inside a Distrobox container. The command must exist on the host system. Environment variables may differ between container and host.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid