Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
store result of command in variable bash
Eric Deloak
Programming language:
Shell/Bash
2021-07-17 12:50:35
0
Q:
store result of command in variable bash
ukna1
Code:
Shell/Bash
2021-02-01 12:20:31
variable=
$(command [option…] argument1 arguments2 …)
5
Tags
variable
command
var
result
Related
bash pass all arguments
how to set environment variable using bash
print variable in bash
find all variables in server bash
save output of command to craible bash
bash set environment variable
show env in bash
New to Communities?
Join the community