I have a file which looks as below.
HOST=localhost
PORT=8080
I want to export the above into environment. I am executing the following command to export the variables in file to environment.
cat <FileName> | xargs export
I am getting the following exception when trying to run the above command.
xargs: export: No such file or directory