Score:0

How can I set multiple environment variables at once

cn flag

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.

muru avatar
us flag
Where are you setting these each separately?
Soren A avatar
mx flag
Please explain your problem. How are you setting them separately ? And where ?
Score:1
jp flag

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

Is this really what you want to do?

Perhaps you want to put them in, .bashrc?

https://www.routerhosting.com/knowledge-base/what-is-linux-bashrc-and-how-to-use-it-full-guide/

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.