Harness the Combinatoric Power of Command-Line Tools and Utilities

Bash Basics

Lesson 1 - Hello World

Bash

In this module you’ll use basic shell commands to print text.

Running Your First Command

Click the “Run” button below to execute this command:

echo "Hello, World!"

The echo command is one of the most fundamental commands in Bash. It outputs whatever text you give it.

Your Turn

Now it’s your turn. Modify the following command to print your own message:

echo "Type your message here"

What You Learned

  • The echo command prints text to the terminal
  • Text in quotes is treated as a single argument
  • You can run commands interactively in your browser

In the next lesson you’ll work with variables.