-
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
4 changed files
with
115 additions
and
1 deletion.
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 |
---|---|---|
@@ -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> |
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,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>`"` |
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,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` |
Submodule source
updated
3 files
+17 −0 | pages.es/osx/lex.md | |
+16 −0 | pages.es/osx/mdfind.md | |
+36 −0 | pages.es/osx/nettop.md |