Which command will create a new environment variable?
Q: Which command will create a new environment variable?
or
Q: Which command is going to make an environment variable new?
- export
- env
- input
- wc
Explanation: To generate or edit environment variables in Bash, the export command is the tool to utilize. You might use the following command, for instance, to create a new environment variable with the name MY_VARIABLE and a value of 123:For the purpose of making the MY_VARIABLE environment variable accessible to other processes and commands running inside the same shell session, this command first creates the variable and then sets it to the value 123.

Comments
Post a Comment