WeCodeAcademy

Practice Challenge

Put it together. Run these steps in order in the terminal: make a folder called notes, go into it, write a message into todo.txt, then read it back.

Examplebash
Open in editor »
/ $

Then try your own: type ls in the terminal box below the example to see todo.txt.

Quick check

Which command writes text into a file?

Your turn: write the code

Make a folder notes, go into it, write Learn Bash into todo.txt, then print the file.

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.