mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-11-04 12:28:15 +00:00 
			
		
		
		
	Update 3_3__Using_Command-Line_Variables.md
This commit is contained in:
		
							parent
							
								
									53c43e720c
								
							
						
					
					
						commit
						94a3b3c869
					
				@ -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, 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