Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nibh leo, semper egestas nisl quis, suscipit malesuada nulla. Vivamus vel ligula vel libero porta euismod. Integer sed auctor felis, eget ornare libero. Cras lobortis mi eu velit euismod, nec dictum arcu fringilla. Nullam aliquam viverra eros et luctus. Suspendisse non elementum est. Nulla ut enim risus. Nulla porta velit eu sem vehicula, sit amet consequat nisl feugiat. Curabitur hendrerit sollicitudin metus nec egestas. Fusce accumsan tellus id sollicitudin aliquam.
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| from csv import DictReader | |
| import subprocess | |
| import platform | |
| import pwd | |
| import grp | |
| import os | |
| import sys |
This file contains hidden or 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
| Emoji | English | Português | Shortcode | |
|---|---|---|---|---|
| 🐜 | ant | formiga | :ant: | |
| 🦡 | badger | texugo | :badger: | |
| 🦇 | bat | morcego | :bat: | |
| 🦫 | beaver | castor | :beaver: | |
| 🪲 | beetle | besouro | :beetle: | |
| 🐦 | bird | passaro | :bird: | |
| 🦬 | bison | bisao | :bison: | |
| 🐡 | blowfish | baiacu | :blowfish: | |
| 🐃 | buffalo | bufalo | :water_buffalo: |
This file contains hidden or 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
| import csv | |
| # Itens que devem estar marcadas | |
| gab_marcadas = set('''\ | |
| maira não consegue criar arquivos nem diretórios em /srv/amarelo | |
| damis pode abrir um arquivo que está em /srv/azul e que ele tenha permissão de leitura | |
| maira consegue listar o nome dos arquivos em /srv/vermelho | |
| vitor consegue criar e apagar arquivos em /srv/verde\ | |
| '''.splitlines()) |
| title | Instalação do Gitea no Alpine Linux |
|---|---|
| author | Jurandy Soares |
| date | 12/16/2025 |
Fonte: https://wiki.alpinelinux.org/wiki/Gitea
Gitea é uma solução leve para hospedagem de código gerenciado escrita em Go. Ele é uma bifurcação do Gogs.
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import csv | |
| import argparse | |
| import ipaddress | |
| import logging | |
| import pathlib | |
| import re | |
| import string | |
| import sys |
| title | Instalação do Gitea no Alpine Linux |
|---|---|
| author | Jurandy Soares |
| date | 26/nov/2025 |
| toc | true |
| lang | pt-BR |
| papersize | a4 |
- I would like to learn how to program shell scripts using bash.
- Create a small booklet about shell script programming with bash.
- Please generate a 2-columns table with all bash numeric operators, with the 1st column being the operator, and the 2nd the name in English.
- When should I use double brackets in tests?
- Build a side-by-side comparative table showing
[]vs[[]]with examples and differences. - Great, now generate a table with all relational and logical operators in bash.
- Create practical examples showing each operator in action inside a Bash script, so I can test directly in the terminal.
- Now list and explain what the special Bash variables are used for, such as
$#,$*,$?,$@,$0,$1,$2, etc.
- Gostaria de aprender a programar shell script usando o bash.
- Crie uma pequena apostila sobre programação de shell script com bash.
- Por gentileza, gere uma tabela de 3 colunas com todos os operadores numéricos de bash, sendo a 1ª coluna o operador, a segunda o nome e inglês, e a última o significado em português.
- Quando eu devo utilizar dois colchetes em testes?
- Monte uma tabela comparativa lado a lado mostrando
[]vs[[]]com exemplos e diferenças. - Ótimo, agora gere uma tabela com todos os operadores relacionais e lógicos do bash.
- Monte exemplos práticos mostrando cada operador em ação dentro de um script Bash, para eu testar diretamente no terminal.
- Agora me liste e explique para que servem as variáveis especiais de Bash, como
$#,$*,$?,$@,$0,$1,$2e etc.
| title | Caminhos de acesso no Linux |
|---|---|
| author | Timothée Crozat |
| date | 26/09/2025 |
| lang | pt-BR |
- Fonte: https://doc.ubuntu-fr.org/chemins
- Tradução e revisão: Jurandy Soares (@jurandysoares)
NewerOlder