Menu
Coddy logo textTech

Your First Command

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

Now that you know what the terminal and shell are, let's run your first real command!

The echo command is one of the simplest and most useful terminal commands. It prints text to the screen:

echo "Hello World!"

When you press Enter, the shell reads your command, executes it, and displays the output:

Hello World!

A terminal command usually follows this structure:

command "argument"
  • command — the program you want to run (e.g., echo)
  • argument — the input you pass to the command (e.g., "Hello World!")

Note: The terminal is case sensitive. For example:

echo "Hello World!"
echo "hello world!"

These produce different outputs (notice the capital letters in the first line).

challenge icon

Challenge

Beginner

Use the echo command to print Hello World! to the terminal.

Remember that the output is case sensitive. Make sure your text matches exactly.

Use the echo command followed by your text in double quotes.

Cheat sheet

The echo command prints text to the screen:

echo "Hello World!"

Terminal command structure:

command "argument"
  • command — the program to run
  • argument — the input passed to the command

Note: The terminal is case sensitive.

Try it yourself

Terminal
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals