seed: curriculum content
This commit is contained in:
35
1.solar-system/1.welcome/02.hello-world/index.md
Normal file
35
1.solar-system/1.welcome/02.hello-world/index.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user