-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
365 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,51 @@ | ||
--- | ||
layout: page | ||
title: linux/abroot (English) | ||
description: "ABRoot utility provides full immutability and atomicity by transacting between 2 root partition states (A⟺B)." | ||
content_hash: deb41cab4e50da09eac9d84da40d2ecddb4ffc61 | ||
last_modified_at: 2022-12-13 | ||
description: "Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B)." | ||
content_hash: 5b263d451ccd3ffdd9ba183f837cd63e543d22e3 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: español version | ||
url: /es/linux/abroot.html | ||
icon: bi bi-globe | ||
- title: português (Brasil) version | ||
url: /pt_BR/linux/abroot.html | ||
icon: bi bi-globe | ||
--- | ||
# abroot | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B). | ||
Updates are performed using OCI images, to ensure that the system is always in a consistent state. | ||
More information: <https://github.com/Vanilla-OS/ABRoot>. | ||
|
||
<hr># abroot | ||
- Add packages to the local image (Note: after executing this command, you need to apply these changes.): | ||
|
||
ABRoot utility provides full immutability and atomicity by transacting between 2 root partition states (A⟺B). | ||
It also allows on-demand transactions via a transactional shell. | ||
More information: <https://github.com/Vanilla-OS/ABRoot>. | ||
`sudo abroot pkg add `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span> | ||
|
||
- Output the current or future root partition state: | ||
- Remove packages from the local image (Note: after executing this command, you need to apply these changes.): | ||
|
||
`sudo abroot get `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">present|future</span> | ||
`sudo abroot pkg remove `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span> | ||
|
||
- Enter the transactional shell in the future root partition and switch root on the next boot: | ||
- List packages in the local image: | ||
|
||
`sudo abroot shell` | ||
`sudo abroot pkg list` | ||
|
||
- Execute a specific command in the transactional shell in the future root partition and switch to it on the next boot: | ||
- Apply changes in the local image (Note: you need to reboot your system for these changes to be applied): | ||
|
||
`sudo abroot exec "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span>`"` | ||
`sudo abroot pkg apply` | ||
|
||
- Install specific packages in the host inside the transactional shell in the future root partition and switch to it on the next boot: | ||
- Rollback your system to previous state: | ||
|
||
`sudo abroot exec apt install `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package1 package2 ...</span> | ||
`sudo abroot rollback` | ||
|
||
- Update the boot partition (for advanced users only): | ||
- Edit/View kernel parameters: | ||
|
||
`sudo abroot _update-boot` | ||
`sudo abroot kargs `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">edit|show</span> | ||
|
||
- Display help: | ||
- Display status: | ||
|
||
`abroot --help` | ||
`sudo abroot status` | ||
|
||
- Display version: | ||
- Display help: | ||
|
||
`abroot --version` | ||
`abroot --help` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
layout: page | ||
title: linux/userdbctl (English) | ||
description: "Inspect users, groups and group memberships on the system." | ||
content_hash: 6266cd17efaf4d763c212c1ebfaaf8b1d394b8f0 | ||
last_modified_at: 2023-09-08 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># userdbctl | ||
|
||
Inspect users, groups and group memberships on the system. | ||
More information: <https://www.freedesktop.org/software/systemd/man/userdbctl.html>. | ||
|
||
- List all known user records: | ||
|
||
`userdbctl user` | ||
|
||
- Show details of a specific user: | ||
|
||
`userdbctl user `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span> | ||
|
||
- List all known groups: | ||
|
||
`userdbctl group` | ||
|
||
- Show details of a specific group: | ||
|
||
`userdbctl group `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">groupname</span> | ||
|
||
- List all services currently providing user/group definitions to the system: | ||
|
||
`userdbctl services` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-create (português (Brasil)) | ||
description: "Criar um contêiner distrobox. Veja também: `tldr distrobox`." | ||
content_hash: 6a7a1c2f1d2a10da9a519bc791b09a9e6731c530 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-create.html | ||
icon: bi bi-globe | ||
- title: தமிழ் version | ||
url: /ta/linux/distrobox-create.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-create | ||
|
||
Criar um contêiner distrobox. Veja também: `tldr distrobox`. | ||
O contêiner criado será integrado ao sistema host, permitindo o compartilhamento do diretório HOME do usuário, armazenamento externo, dispositivos USB externos, aplicativos gráficos (X11/Wayland) e áudio. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-create.html>. | ||
|
||
- Criar um contêiner distrobox usando a imagem do Ubuntu: | ||
|
||
`distrobox-create `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span>` --image `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">ubuntu:latest</span> | ||
|
||
- Clonar um contêiner distrobox: | ||
|
||
`distrobox-create --clone `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner_clonado</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-enter (português (Brasil)) | ||
description: "Entrar em um contêiner distrobox. Veja também: `tldr distrobox`." | ||
content_hash: b832489ffa679287747b03a492161b8350602f88 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-enter.html | ||
icon: bi bi-globe | ||
- title: தமிழ் version | ||
url: /ta/linux/distrobox-enter.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-enter | ||
|
||
Entrar em um contêiner distrobox. Veja também: `tldr distrobox`. | ||
O comando padrão executado é o seu SHELL, mas você pode especificar shells diferentes ou comandos completos para serem executados. | ||
Se usado dentro de um script, um aplicativo ou um serviço, você pode usar o modo `--headless` para desabilitar o tty e a interatividade. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-enter.html>. | ||
|
||
- Entrar em um contêiner distrobox: | ||
|
||
`distrobox-enter `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span> | ||
|
||
- Entrar em um contêiner distrobox e executar um comando no login: | ||
|
||
`distrobox-enter `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span>` -- `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">sh -l</span> | ||
|
||
- Entrar em um contêiner distrobox sem instanciar um tty: | ||
|
||
`distrobox-enter --name `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span>` -- `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">uptime -p</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-export (português (Brasil)) | ||
description: "Exportar um aplicativo/serviço/binário do contêiner para o sistema operacional host." | ||
content_hash: 627e0db80764a43bd4e012bfa32d4a9d8bc525d6 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-export.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-export | ||
|
||
Exportar um aplicativo/serviço/binário do contêiner para o sistema operacional host. | ||
Subcomando de `distrobox`. Veja também: `tldr distrobox`. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-export.html>. | ||
|
||
- Exportar um aplicativo do contêiner para o host (a entrada e o ícone do aplicativo aparecerão na lista de aplicativos do seu sistema host): | ||
|
||
`distrobox-export --app `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_pacote</span>` --extra-flags "--foreground"` | ||
|
||
- Exportar um binário do contêiner para o host: | ||
|
||
`distrobox-export --bin `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">caminho/para/binário</span>` --export-path `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">caminho/para/binário_no_host</span> | ||
|
||
- Exportar um binário do contêiner para o host (por exemplo, `$HOME/.local/bin`): | ||
|
||
`distrobox-export --bin `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">caminho/para/binário</span>` --export-path `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">caminho/de/exportação</span> | ||
|
||
- Exportar um serviço do contêiner para o host (`--sudo` executará o serviço como root dentro do contêiner): | ||
|
||
`distrobox-export --service `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">pacote</span>` --extra-flags "--allow-newer-config" --sudo` | ||
|
||
- Desexportar/deletar um aplicativo exportado: | ||
|
||
`distrobox-export --app `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">pacote</span>` --delete` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-host-exec (português (Brasil)) | ||
description: "Executar um comando no sistema host a partir do interior de um contêiner distrobox." | ||
content_hash: a79ae1a7dbc21d2226053117102b23d2758d6068 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-host-exec.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-host-exec | ||
|
||
Executar um comando no sistema host a partir do interior de um contêiner distrobox. | ||
Subcomando de `distrobox`. Veja também: `tldr distrobox`. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-host-exec.html>. | ||
|
||
- Executar um comando no sistema host a partir do interior do contêiner distrobox: | ||
|
||
`distrobox-host-exec "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">comando</span>`"` | ||
|
||
- Executar o comando `ls` no sistema host a partir do interior do contêiner: | ||
|
||
`distrobox-host-exec ls` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-list (português (Brasil)) | ||
description: "Listar todos os contêineres distrobox. Veja também: `tldr distrobox`." | ||
content_hash: d684895adfd9284716ad9c3f8fab28157ed02471 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-list.html | ||
icon: bi bi-globe | ||
- title: தமிழ் version | ||
url: /ta/linux/distrobox-list.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-list | ||
|
||
Listar todos os contêineres distrobox. Veja também: `tldr distrobox`. | ||
Os contêineres distrobox são listados separadamente dos demais contêineres normais do Podman ou Docker. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-list.html>. | ||
|
||
- Listar todos os contêineres distrobox: | ||
|
||
`distrobox-list` | ||
|
||
- Listar todos os contêineres distrobox com informações detalhadas: | ||
|
||
`distrobox-list --verbose` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-rm (português (Brasil)) | ||
description: "Remover um contêiner distrobox." | ||
content_hash: 89b1de1d3a683c4eb25795a9d48eb662a61acf38 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-rm.html | ||
icon: bi bi-globe | ||
- title: தமிழ் version | ||
url: /ta/linux/distrobox-rm.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-rm | ||
|
||
Remover um contêiner distrobox. | ||
Subcomando de `distrobox`. Veja também: `tldr distrobox`. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-rm.html>. | ||
|
||
- Remover um contêiner distrobox (Dica: Pare o contêiner antes de removê-lo): | ||
|
||
`distrobox-rm `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span> | ||
|
||
- Remover um contêiner distrobox forçadamente: | ||
|
||
`distrobox-rm `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span>` --force` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-stop (português (Brasil)) | ||
description: "Parar um contêiner distrobox." | ||
content_hash: 484645f6ff38a639dce6ca369289d773aa91c8f0 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-stop.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-stop | ||
|
||
Parar um contêiner distrobox. | ||
Subcomando de `distrobox`. Veja também: `tldr distrobox`. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-stop.html>. | ||
|
||
- Parar um contêiner distrobox: | ||
|
||
`distrobox-stop `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span> | ||
|
||
- Parar um contêiner distrobox de forma não interativa (sem confirmação): | ||
|
||
`distrobox-stop --name `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span>` --yes` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: page | ||
title: linux/distrobox-upgrade (português (Brasil)) | ||
description: "Atualizar um ou vários contêineres distrobox." | ||
content_hash: ee9ff830dd07cda2a512665c334a0ade61742718 | ||
last_modified_at: 2023-09-08 | ||
related_topics: | ||
- title: English version | ||
url: /en/linux/distrobox-upgrade.html | ||
icon: bi bi-globe | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># distrobox-upgrade | ||
|
||
Atualizar um ou vários contêineres distrobox. | ||
Subcomando de `distrobox`. Veja também: `tldr distrobox`. | ||
Mais informações: <https://distrobox.privatedns.org/usage/distrobox-upgrade.html>. | ||
|
||
- Atualizar um contêiner usando o gerenciador de pacotes nativo do contêiner: | ||
|
||
`distrobox-upgrade `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nome_do_contêiner</span> | ||
|
||
- Atualizar todos os contêineres usando os gerenciadores de pacotes nativos dos contêineres: | ||
|
||
`distrobox-upgrade --all` | ||
|
||
- Atualizar contêineres específicos via o gerenciador de pacotes nativo do contêiner: | ||
|
||
`distrobox-upgrade `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">contêiner1 contêiner2 ...</span> |
Oops, something went wrong.