1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00

$: add Spanish translation (#14843)

Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Igor Támara 2024-11-18 04:39:37 -05:00 committed by GitHub
parent 4486e86709
commit 35239955b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
pages.es/common/$.md Normal file
View file

@ -0,0 +1,24 @@
# Dollar sign
> Expande una variable Bash.
> Más información: <https://gnu.org/software/bash/manual/bash.html#Shell-Variables>.
- Imprime una variable:
`echo ${{VARIABLE}}`
- Imprime el valor de retorno (exit status) del comando anterior:
`echo $?`
- Imprime un número aleatorio entre 0 y 32767:
`echo $RANDOM`
- Imprime una de las cadenas de prompt:
`echo ${{PS1|PS2|PS3|PS4}}`
- Expande la salida del `comando` al ejecutarlo. Igual que encerrar `comando` en comillas inversas:
`$({{comando}})`