Update 3_3__Using_Command-Line_Variables.md

This commit is contained in:
Shannon Appelcline 2017-03-28 10:29:03 -07:00 committed by GitHub
parent 2a93cb04f2
commit f73eb216d4

View File

@ -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:
``` ```