From ff25a167b54df9223608eced1cffc219b4c7c101 Mon Sep 17 00:00:00 2001 From: silvira <78524262+silvira@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:01:32 -0500 Subject: [PATCH] Update KITTY.md --- .../house/upstairs/bedroom/bed/KITTY.md | 24 ++++--------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/command-line-treasure-hunt/house/upstairs/bedroom/bed/KITTY.md b/command-line-treasure-hunt/house/upstairs/bedroom/bed/KITTY.md index ab21a4fe..5ea5cf92 100644 --- a/command-line-treasure-hunt/house/upstairs/bedroom/bed/KITTY.md +++ b/command-line-treasure-hunt/house/upstairs/bedroom/bed/KITTY.md @@ -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 :)