How can I set multiple environment variables at once

Is it possible to define multiple environment variables at once? Ideally I'd like to paste them all at once instead of setting each one separately.

2

1 Answer

Simply, export a="1" b="2" c="..., etc.

Is this really what you want to do?

Perhaps you want to put them in, .bashrc?

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like