1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/distrobox-enter.md

18 lines
700 B
Markdown
Raw Normal View History

2022-01-22 20:28:05 +01:00
# distrobox-enter
2023-03-02 21:50:46 +05:30
> Enter a distrobox container. See also: `tldr distrobox`.
> Default command executed is your SHELL, but you can specify different shells or entire commands to execute. If used inside a script, an application, or a service, you can use the `--headless` mode to disable the tty and interactivity.
2023-03-02 21:50:46 +05:30
> More information: <https://distrobox.privatedns.org/usage/distrobox-enter.html>.
2023-03-02 21:50:46 +05:30
- Enter a distrobox container:
`distrobox-enter {{container_name}}`
2022-01-22 20:28:05 +01:00
- Enter a distrobox container and run a command at login:
2022-01-22 20:28:05 +01:00
`distrobox-enter {{container_name}} -- {{sh -l}}`
2022-01-22 20:28:05 +01:00
- Enter a distrobox container without instantiating a tty:
2022-01-22 20:28:05 +01:00
`distrobox-enter --name {{container_name}} -- {{uptime -p}}`