Menu
Coddy logo textTech

Recap - Custom Environment

Part of the Fundamentals section of Coddy's Terminal journey — lesson 65 of 82.

challenge icon

Challenge

Easy

Combine your environment variable skills to complete this multi-step challenge.

First, export a variable called APP_NAME with the value MyTerminalApp.

Next, export a variable called APP_VERSION with the value 1.0.

Finally, use echo to display both variables in a single line with the format:

MyTerminalApp v1.0

You'll need to combine both variables in your echo command, adding the letter v before the version number.

Hint: After exporting both variables, use echo "$APP_NAME v$APP_VERSION" to display them together.

Note: The live terminal preview may show only partial output (e.g., just v) if variables don't persist between individually-entered commands. This is expected behavior in the preview. Enter all three commands and click Submit — the correct output MyTerminalApp v1.0 will be evaluated and the challenge will be accepted.

Try it yourself

Terminal

All lessons in Fundamentals