From 3d3f48f963b0df946d609990aa1588a3ed3b8f3a Mon Sep 17 00:00:00 2001 From: Junitalama <113072416+Junitalama@users.noreply.github.com> Date: Mon, 27 Feb 2023 23:58:27 +0000 Subject: [PATCH 1/2] answered all. --- MyDocuments/Quiz/QUIZ.md | 20 ++++++++++---------- README.md | 24 +++++++++++++++++++++--- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/MyDocuments/Quiz/QUIZ.md b/MyDocuments/Quiz/QUIZ.md index f9a4853..df2c386 100644 --- a/MyDocuments/Quiz/QUIZ.md +++ b/MyDocuments/Quiz/QUIZ.md @@ -7,18 +7,18 @@ You can mark your choice by putting an `x` in the correct box - [ ] The terminal is an interface that allows you to access the command line - [ ] It can be much faster to complete some tasks using a Terminal than with a GUI - [ ] You have access to many more commands and scripts on the Terminal than with a GUI -- [ ] The terminal gives you more powers/privileges to complete tasks than a GUI +- [X] The terminal gives you more powers/privileges to complete tasks than a GUI **What is the correct way to move to a directory called "Projects"?** - [ ] cd Projects -- [ ] mv Projects +- [x] mv Projects - [ ] cd ..Projects - [ ] mv .. **What is the correct way to move up a directory?** -- [ ] cd .. +- [x] cd .. - [ ] cd ~ - [ ] mv .. - [ ] cd ./ @@ -26,7 +26,7 @@ You can mark your choice by putting an `x` in the correct box **How do you stop a long running task in the terminal?** - [ ] The tab key -- [ ] ctrl+c +- [x] ctrl+c - [ ] ctrl+shift or cmd+shift - [ ] The enter key - [ ] The escape key @@ -34,7 +34,7 @@ You can mark your choice by putting an `x` in the correct box **How do you auto-complete a command that you are typing?** -- [ ] The tab key +- [x] The tab key - [ ] ctrl+c - [ ] ctrl+shift or cmd+shift - [ ] The enter key @@ -43,7 +43,7 @@ You can mark your choice by putting an `x` in the correct box **What's the correct command to view all the files in your current directory?** -- [ ] ls +- [x] ls - [ ] pwd - [ ] mv - [ ] cd @@ -53,7 +53,7 @@ You can mark your choice by putting an `x` in the correct box **What's the correct command to see the current directory you are in?** - [ ] ls -- [ ] pwd +- [x] pwd - [ ] mv - [ ] cd - [ ] clear @@ -65,7 +65,7 @@ You can mark your choice by putting an `x` in the correct box - [ ] pwd - [ ] mv - [ ] cd -- [ ] clear +- [x] clear - [ ] mkdir **What is the correct command to make a folder in the terminal?** @@ -75,14 +75,14 @@ You can mark your choice by putting an `x` in the correct box - [ ] mv - [ ] cd - [ ] clear -- [ ] mkdir +- [x] mkdir **What is the correct command to move a file in the terminal?** - [ ] ls - [ ] pwd - [ ] mv -- [ ] cd +- [x] cd - [ ] clear - [ ] mkdir diff --git a/README.md b/README.md index 2cab9a4..edd2e4e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,11 @@ Hint: You should use `cd` and `ls`. #### 1) Answer - +pwd +ls +cd MyDocuments +ls +cd Scripts ### 2) Find my Hotel Photo @@ -28,7 +32,15 @@ Next, I want to try and find the photo of my hotel from my holiday in July that #### 2) Answer - +cd.. +ls +cd Photos +ls +cd HolidayJuly +ls +cd Hotel +ls + ### 3) Counting Script @@ -52,7 +64,13 @@ For this task, I want you to **stop** the counter when I have counted to 10. Copy the output of the script here - +ls +cd MyDocuments +ls +cd Scripts +ls +open count_to_100.sh +ctrl+c ### 4) Quiz From e01691edc0128666d62371bd259054727d104f4e Mon Sep 17 00:00:00 2001 From: Junitalama <113072416+Junitalama@users.noreply.github.com> Date: Tue, 28 Feb 2023 00:21:26 +0000 Subject: [PATCH 2/2] Update QUIZ.md --- MyDocuments/Quiz/QUIZ.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MyDocuments/Quiz/QUIZ.md b/MyDocuments/Quiz/QUIZ.md index df2c386..cd938c4 100644 --- a/MyDocuments/Quiz/QUIZ.md +++ b/MyDocuments/Quiz/QUIZ.md @@ -7,12 +7,12 @@ You can mark your choice by putting an `x` in the correct box - [ ] The terminal is an interface that allows you to access the command line - [ ] It can be much faster to complete some tasks using a Terminal than with a GUI - [ ] You have access to many more commands and scripts on the Terminal than with a GUI -- [X] The terminal gives you more powers/privileges to complete tasks than a GUI +- [x] The terminal gives you more powers/privileges to complete tasks than a GUI **What is the correct way to move to a directory called "Projects"?** -- [ ] cd Projects -- [x] mv Projects +- [x cd Projects +- [ ] mv Projects - [ ] cd ..Projects - [ ] mv .. @@ -88,7 +88,7 @@ You can mark your choice by putting an `x` in the correct box **What is the correct name for the part after the - in this command "ls -all"?** -- [ ] parameter +- [x] parameter - [ ] extra - [ ] function - [ ] dash