Login
Remember
Register
Ask a Question
What is the export command used for?
0
votes
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
What is the export command used for?
#linux-export-command
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2020
by
rahuljain1
What is the export command used for?
The export command is used to set and reload the environment variables. For example, if you want to set the Java path, then the command would be:
$ export JAVA_HOME = /home/user/Java/bin
...