mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:42:07 +02:00
fd, fdp, finger: add pt_BR translation (#9366)
This commit is contained in:
parent
e81d293482
commit
0fba988587
5 changed files with 89 additions and 11 deletions
29
pages.pt_BR/common/fd.md
Normal file
29
pages.pt_BR/common/fd.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# fd
|
||||||
|
|
||||||
|
> Uma alternativa para `find`.
|
||||||
|
> Visa ser mais rápido e fácil de usar do que `find`.
|
||||||
|
> Mais informações: <https://github.com/sharkdp/fd>.
|
||||||
|
|
||||||
|
- Encontra recursivamente arquivos que correspondam ao padrão fornecido no diretório atual:
|
||||||
|
|
||||||
|
`fd {{padrão}}`
|
||||||
|
|
||||||
|
- Encontra arquivos que começam com `foo`:
|
||||||
|
|
||||||
|
`fd '^foo'`
|
||||||
|
|
||||||
|
- Encontra arquivos com uma extensão específica:
|
||||||
|
|
||||||
|
`fd --extension txt`
|
||||||
|
|
||||||
|
- Encontra arquivos em um diretório específico:
|
||||||
|
|
||||||
|
`fd '{{padrão}}' {{caminho/para/diretório}}`
|
||||||
|
|
||||||
|
- Inclui arquivos ignorados e ocultos na pesquisa:
|
||||||
|
|
||||||
|
`fd --hidden --no-ignore '{{padrão}}'`
|
||||||
|
|
||||||
|
- Executa um comando em cada resultado de pesquisa retornado:
|
||||||
|
|
||||||
|
`fd '{{padrão}}' --exec {{comando}}`
|
25
pages.pt_BR/common/fdp.md
Normal file
25
pages.pt_BR/common/fdp.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# fdp
|
||||||
|
|
||||||
|
> Renderiza uma imagem de um gráfico de rede `force-directed` a partir de um arquivo `graphviz`.
|
||||||
|
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||||
|
> Mais informações: <https://graphviz.org/doc/info/command.html>.
|
||||||
|
|
||||||
|
- Renderiza uma imagem `png` com um nome de arquivo baseado no nome do arquivo de entrada e formato de saída (-O maiúsculo):
|
||||||
|
|
||||||
|
`fdp -T png -O {{caminho/para/entrada.gv}}`
|
||||||
|
|
||||||
|
- Renderiza uma imagem `svg` com o nome do arquivo de saída especificado (-o minúsculo):
|
||||||
|
|
||||||
|
`fdp -T svg -o {{caminho/para/imagem.svg}} {{caminho/para/entrada.gv}}`
|
||||||
|
|
||||||
|
- Renderiza a saída nos formatos:
|
||||||
|
|
||||||
|
`fdp -T {{ps|pdf|svg|fig|png|gif|jpg|json|dot}} -O {{caminho/para/entrada.gv}}`
|
||||||
|
|
||||||
|
- Renderiza uma imagem `gif` usando stdin e stdout:
|
||||||
|
|
||||||
|
`echo "{{digraph {isso -> aquilo} }}" | fdp -T gif > {{caminho/para/imagem.gif}}`
|
||||||
|
|
||||||
|
- Exibe ajuda:
|
||||||
|
|
||||||
|
`fdp -?`
|
24
pages.pt_BR/common/finger.md
Normal file
24
pages.pt_BR/common/finger.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# finger
|
||||||
|
|
||||||
|
> Programa de pesquisa de informações do usuário.
|
||||||
|
> Mais informações: <https://manned.org/finger>.
|
||||||
|
|
||||||
|
- Exibe informações sobre usuários conectados no momento:
|
||||||
|
|
||||||
|
`finger`
|
||||||
|
|
||||||
|
- Exibe informações sobre um usuário específico:
|
||||||
|
|
||||||
|
`finger {{nome_de_usuário}}`
|
||||||
|
|
||||||
|
- Exibe o nome de login do usuário, nome real, nome do terminal e outras informações:
|
||||||
|
|
||||||
|
`finger -s`
|
||||||
|
|
||||||
|
- Produz o formato de saída de várias linhas exibindo as mesmas informações que `-s`, bem como o diretório pessoal do usuário, número de telefone residencial, shell de login, status de correio, etc.:
|
||||||
|
|
||||||
|
`finger -l`
|
||||||
|
|
||||||
|
- Impede a correspondência com os nomes de usuário e usa apenas nomes de login:
|
||||||
|
|
||||||
|
`finger -m`
|
|
@ -8,22 +8,22 @@
|
||||||
|
|
||||||
`fd {{pattern}}`
|
`fd {{pattern}}`
|
||||||
|
|
||||||
- Find files that begin with "foo":
|
- Find files that begin with `foo`:
|
||||||
|
|
||||||
`fd {{'^foo'}}`
|
`fd '^foo'`
|
||||||
|
|
||||||
- Find files with a specific extension:
|
- Find files with a specific extension:
|
||||||
|
|
||||||
`fd --extension {{txt}}`
|
`fd --extension txt`
|
||||||
|
|
||||||
- Find files in a specific directory:
|
- Find files in a specific directory:
|
||||||
|
|
||||||
`fd {{pattern}} {{path/to/directory}}`
|
`fd '{{pattern}}' {{path/to/directory}}`
|
||||||
|
|
||||||
- Include ignored and hidden files in the search:
|
- Include ignored and hidden files in the search:
|
||||||
|
|
||||||
`fd --hidden --no-ignore {{pattern}}`
|
`fd --hidden --no-ignore '{{pattern}}'`
|
||||||
|
|
||||||
- Execute a command on each search result returned:
|
- Execute a command on each search result returned:
|
||||||
|
|
||||||
`fd {{pattern}} --exec {{command}}`
|
`fd '{{pattern}}' --exec {{command}}`
|
||||||
|
|
|
@ -6,19 +6,19 @@
|
||||||
|
|
||||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||||
|
|
||||||
`fdp -T {{png}} -O {{path/to/input.gv}}`
|
`fdp -T png -O {{path/to/input.gv}}`
|
||||||
|
|
||||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||||
|
|
||||||
`fdp -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
`fdp -T svg -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||||
|
|
||||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
- Render the output in a specific format:
|
||||||
|
|
||||||
`fdp -T {{format}} -O {{path/to/input.gv}}`
|
`fdp -T {{ps|pdf|svg|fig|png|gif|jpg|json|dot}} -O {{path/to/input.gv}}`
|
||||||
|
|
||||||
- Render a `gif` image using stdin and stdout:
|
- Render a `gif` image using stdin and stdout:
|
||||||
|
|
||||||
`echo "{{digraph {this -> that} }}" | fdp -T {{gif}} > {{path/to/image.gif}}`
|
`echo "{{digraph {this -> that} }}" | fdp -T gif > {{path/to/image.gif}}`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue