How do you set a variable in bash?

Huyền Thu

New member
How do you set a variable in bash?
Answer
The easiest way to set environment variables in Bash is to
use the “export” keyword followed by the variable name, an equal sign and the value to be assigned to the
environment variable.
 

Tìm kiếm

Back
Top