Skip to content

Commit

Permalink
Data update 2023-09-13 12-19-20
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Sep 13, 2023
1 parent d422748 commit 9c4daa4
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 1 deletion.
31 changes: 31 additions & 0 deletions docs/es/osx/lex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: page
title: osx/lex (español)
description: "Generador de analizadores léxicos."
content_hash: 469e3afcb5bc438bf55a7de21fcf56eee047e786
last_modified_at: 2023-09-13
related_topics:
- title: English version
url: /en/osx/lex.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># lex

Generador de analizadores léxicos.
Dada la especificación de un analizador léxico, genera código C implementándolo.
Más información: <https://keith.github.io/xcode-man-pages/lex.1.html>.

- Genera un analizador a partir de un fichero Lex:

`lex `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">analyzer.l</span>

- Especifica el fichero de salida:

`lex `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">analyzer.l</span>` --outfile `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">analyzer.c</span>

- Compila un archivo C generado por Lex:

`cc `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">ruta/hacia/lex.yy.c</span>` --output `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">ejecutable</span>
33 changes: 33 additions & 0 deletions docs/es/osx/mdfind.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
layout: page
title: osx/mdfind (español)
description: "Lista los archivos que coinciden con una consulta dada."
content_hash: 8e5406ac2397bbd5418b0e10ca4c81bf74fa3adc
last_modified_at: 2023-09-13
related_topics:
- title: English version
url: /en/osx/mdfind.html
icon: bi bi-globe
- title: 中文 version
url: /zh/osx/mdfind.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># mdfind

Lista los archivos que coinciden con una consulta dada.
Más información: <https://ss64.com/osx/mdfind.html>.

- Busca un archivo por su nombre:

`mdfind -name `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">archivo</span>

- Busca un archivo por su contenido:

`mdfind "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">consulta</span>`"`

- Busca un archivo que contenga una cadena, en un directorio determinado:

`mdfind -onlyin `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">directorio</span>` "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">consulta</span>`"`
50 changes: 50 additions & 0 deletions docs/es/osx/nettop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
layout: page
title: osx/nettop (español)
description: "Muestra información actualizada sobre la red."
content_hash: e88448e3cfd7cefb34fdaa4e55398c3038620a79
last_modified_at: 2023-09-13
related_topics:
- title: English version
url: /en/osx/nettop.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># nettop

Muestra información actualizada sobre la red.
Más información: <https://www.manpagez.com/man/1/nettop/>.

- Monitoriza los sockets TCP y UDP de todas las interfaces:

`nettop`

- Monitoriza sockets TCP desde interfaces Loopback:

`nettop -m `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">tcp</span>` -t `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">loopback</span>

- Supervisa un proceso específico:

`nettop -p "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">process_id|process_name</span>`"`

- Muestra un resumen por proceso:

`nettop -P`

- Imprime 10 muestras de información de red:

`nettop -l `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">10</span>

- Monitoriza los cambios cada 5 segundos:

`nettop -d -s `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">5</span>

- Mientras se ejecuta nettop, lista los comandos interactivos:

`h`

- Muestra ayuda:

`nettop -h`
2 changes: 1 addition & 1 deletion source

0 comments on commit 9c4daa4

Please sign in to comment.