36 lines
595 B
Markdown
36 lines
595 B
Markdown
---
|
|
type: challenge
|
|
title: "Hello, World"
|
|
xp: 25
|
|
duration: 15
|
|
difficulty: 1
|
|
---
|
|
|
|
# Hello, World
|
|
|
|
> **[INCOMING — Mission Control, Earth]**
|
|
>
|
|
> Cadet, first signal. Write a script that creates `hello.txt`
|
|
> containing exactly:
|
|
>
|
|
> ```
|
|
> Hello, World
|
|
> ```
|
|
>
|
|
> Two commands:
|
|
>
|
|
> - `echo` prints text
|
|
> - `>` redirects what would print into a file
|
|
>
|
|
> [END TRANSMISSION]
|
|
|
|
## Your Task
|
|
|
|
In `starter/starter.sh`, write the command(s) that create `hello.txt`
|
|
with the content `Hello, World`.
|
|
|
|
## Objectives
|
|
|
|
- `hello.txt` exists in the working directory
|
|
- File contents match `Hello, World` exactly
|