script set command output to variable
178
Why does my shell script choke on whitespace or other special characters?
92727
How do I assign the output of a command into an array?
131095
Is it possible to print the content of the content of a variable with shell script? (indirect referencing)
129525
How to pass variables from bash script to AppleScript
85461
Passing arguments to a script
46905
Reading output of a command into an array in Bash
36252
Capturing multiple line output into a Bash variable
138448
Input from within shell script
81773
Setting and using variable within same command line in Windows cmd.exe
130165
Assigning default values to shell variables with a single command in bash
69914
How to extract an output from JSON to a shellscript variable?
53200
How to separate command output to individual lines
52844
How can I get a variable from terminal to use it in my script?
140247
How to store output command in variable and use this varible again for next command after pipe
49254
how to get output of a script/program into a file?
136267
Pipe the output of a command if it is successful
25487
How to store a command in a variable in a shell script?