mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:53:11 +02:00
$: add Dutch translation (#14213)
This commit is contained in:
parent
818ada1754
commit
b5e0ad10ea
1 changed files with 24 additions and 0 deletions
24
pages.nl/common/$.md
Normal file
24
pages.nl/common/$.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Dollar sign
|
||||||
|
|
||||||
|
> Breid een Bash-variabele uit.
|
||||||
|
> Meer informatie: <https://gnu.org/software/bash/manual/bash.html#Shell-Variables>.
|
||||||
|
|
||||||
|
- Toon een variabele:
|
||||||
|
|
||||||
|
`echo ${{VARIABLE}}`
|
||||||
|
|
||||||
|
- Toon de exitstatus van het vorige commando:
|
||||||
|
|
||||||
|
`echo $?`
|
||||||
|
|
||||||
|
- Toon een willekeurig getal tussen 0 en 32767:
|
||||||
|
|
||||||
|
`echo $RANDOM`
|
||||||
|
|
||||||
|
- Toon een van de promptstrings:
|
||||||
|
|
||||||
|
`echo ${{PS1|PS2|PS3|PS4}}`
|
||||||
|
|
||||||
|
- Breid uit met de uitvoer van `command` en voer het uit. Hetzelfde als het commando tussen backticks plaatsen:
|
||||||
|
|
||||||
|
`$({{command}})`
|
Loading…
Add table
Reference in a new issue