Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Console Foundations Environment and Redirection Environment Variables

Seth Warner
Seth Warner
5,348 Points

So when he typed export Message="Hi World" Was he?

Was he changing the value since Message did not have a $ at the beginning and exporting it at the same time? If so, How would you just export a value, without changing it. So lets say I have a variable named bird with a value that is directory that contains some birds. And I want to export it to the child processes. How would I type out that command exactly. WITHOUT changing anything OR expanding anything within that variable.

1 Answer

Just leave out the equals sign and the value:

export Message