Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

22
linux/distrobox-enter Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# distrobox-enter
> 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.
> More information: <https://distrobox.it/usage/distrobox-enter>.
- Enter a Distrobox container:
`distrobox-enter {{container_name}}`
- Enter a Distrobox container and run a command at login:
`distrobox-enter {{container_name}} -- {{sh -l}}`
- Enter a Distrobox container without instantiating a tty:
`distrobox-enter --name {{container_name}} -- {{uptime -p}}`