medium
+15 XP
TERMINAL

Write and Append to Files

Practice overwriting and appending to files.

Tasks:
1. Write "Line 1" to `log.txt` using echo with `>`
2. Append "Line 2" to `log.txt` using echo with `>>`
3. Append "Line 3" to `log.txt`
4. The final file should contain all three lines
You're exploring as a guest. Create a free account to save progress and submit solutions.
Terminal ChallengeRun commands in the terminal below