Skip to content

Commit

Permalink
Update KITTY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
silvira authored Jan 5, 2024
1 parent 2a56dc5 commit ff25a16
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions command-line-treasure-hunt/house/upstairs/bedroom/bed/KITTY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,11 @@
You found a KITTY.md in the bed/ directory! How soft and cuddly. Congratulations!

But it looks lonely. Why don't you make it a DOGGIE.md here in bed/?
1. Use the ``touch`` command to create a new, empty file.
1. Use the ``echo`` command and redirect to create a new file containing the text "There is a dog in the bed cuddling with the cat!"
```
touch DOGGIE.md
echo “There is a dog in the bed cuddling with the cat!“> DOGGIE.md
```
2. Use the ``ls`` command to check that the file DOGGIE.md exists within the bed library
3. Use the ``cat`` command to review that the text is in the file.

2. Use the VSCode text editor to edit the file.
```
code DOGGIE.md
```

3. In the DOGGIE.md file, write the following sentence in the first line of the document:
"There is a doggie in the bed!"

Attention: type the sentence above EXACTLY as is, but without the quotes. Don't add anything else to the file.

4. Save the changes in the file.

5. Exit VSCode and go back to the terminal.

If ``code DOGGIE.md`` is returning an error message, don't fret. This is just means that the settings that allow you to run VSCode from the terminal are not on. This is actually not too hard to do. Why don't you go to your browser and google "run vscode from terminal mac" and try to find and follow the instructions.

If it doesn't work or you don't want to work on that issue right now, you can just open VSCode normally, find the DOGGIE.md file from it, add the content and save it. Ask help if you are struggling with this.
If the text is there, congratulations! You have finished the first task and the cat is not lonely anymore :)

0 comments on commit ff25a16

Please sign in to comment.