How do you set a variable in Bash?

Lò Ngọc

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