1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

ttyplot: add Spanish translation (#15270)

Co-authored-by: Darío Hereñú <magallania@gmail.com>
This commit is contained in:
Igor Támara 2024-12-20 13:26:39 -05:00 committed by GitHub
parent b427ead52c
commit 50a5ffb564
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages.es/linux/ttyplot.md Normal file
View file

@ -0,0 +1,20 @@
# ttyplot
> Una utilidad de trazado en tiempo real para la línea de comandos con entrada de datos desde `stdin`.
> Más información: <https://github.com/tenox7/ttyplot>.
- Muestra los valores `1`, `2` y `3` (`cat` evita que ttyplot salga):
`{ echo {{1 2 3}}; cat } | ttyplot`
- Establece un título específico y unidad:
`{ echo {{1 2 3}}; cat } | ttyplot -t {{título}} -u {{unidad}}`
- Utiliza un bucle de tiempo para trazar continuamente valores aleatorios:
`{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot`
- Analiza la salida de `ping` y la visualiza:
`ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{ping a 8.8.8.8}}" -u {{ms}}`