can we store result of a command in variable in shell script code example
Example: store result of command in variable bash
variable=$(command [option…] argument1 arguments2 …)
variable=$(command [option…] argument1 arguments2 …)