mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
Update 3_3__Using_Command-Line_Variables.md
This commit is contained in:
parent
44e1310169
commit
53c43e720c
@ -6,7 +6,7 @@ If you're using `bash`, you can save information to a variable like this:
|
|||||||
```
|
```
|
||||||
$ VARIABLE=$(command)
|
$ VARIABLE=$(command)
|
||||||
```
|
```
|
||||||
That's a simple command substitution, and the equivalent to ``VARIABLE=`command```. The command inside the parentheses is run, then assigned to the VARIABLE.
|
That's a simple command substitution, and the equivalent to ``VARIABLE=`command` ``. The command inside the parentheses is run, then assigned to the VARIABLE.
|
||||||
|
|
||||||
To create a new address would then look like this:
|
To create a new address would then look like this:
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user