mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 17:15:40 +02:00
$: add Hindi translation (#14336)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
73f68179e6
commit
50c1dc45f5
1 changed files with 24 additions and 0 deletions
24
pages.hi/common/$.md
Normal file
24
pages.hi/common/$.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Dollar sign
|
||||
|
||||
> बैश वैरिएबल का विस्तार करें।
|
||||
> अधिक जानकारी: <https://gnu.org/software/bash/manual/bash.html#Shell-Variables>।
|
||||
|
||||
- एक वेरिएबल प्रिंट करें:
|
||||
|
||||
`echo ${{वैरिएबल}}`
|
||||
|
||||
- पिछली कमांड की निकास स्थिति प्रिंट करें:
|
||||
|
||||
`echo $?`
|
||||
|
||||
- 0 और 32767 के बीच एक यादृच्छिक संख्या प्रिंट करें:
|
||||
|
||||
`echo $RANDOM`
|
||||
|
||||
- शीघ्र स्ट्रिंग में से एक को प्रिंट करें:
|
||||
|
||||
`echo ${{PS1|PS2|PS3|PS4}}`
|
||||
|
||||
- `कमांड` के आउटपुट के साथ विस्तार करें और इसे चलाएं। बैकटिक्स में `कमांड` संलग्न करने के समान:
|
||||
|
||||
`$({{कमांड}})`
|
Loading…
Add table
Reference in a new issue