From 1f52f9b522c187d8654e28ed6edc69b19246b7c0 Mon Sep 17 00:00:00 2001 From: Danny Romero <108970600+Elenar9@users.noreply.github.com> Date: Wed, 1 Mar 2023 19:20:18 +0000 Subject: [PATCH 1/3] terminal-coursework-week1 update --- MyDocuments/Quiz/QUIZ.md | 22 +++++++++++----------- README.md | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/MyDocuments/Quiz/QUIZ.md b/MyDocuments/Quiz/QUIZ.md index f9a4853..2a57229 100644 --- a/MyDocuments/Quiz/QUIZ.md +++ b/MyDocuments/Quiz/QUIZ.md @@ -4,14 +4,14 @@ You can mark your choice by putting an `x` in the correct box **Which of these is incorrect?** -- [ ] The terminal is an interface that allows you to access the command line +- [x] 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 **What is the correct way to move to a directory called "Projects"?** -- [ ] cd Projects +- [x ] cd Projects - [ ] mv Projects - [ ] cd ..Projects - [ ] mv .. @@ -20,13 +20,13 @@ You can mark your choice by putting an `x` in the correct box - [ ] cd .. - [ ] cd ~ -- [ ] mv .. +- [x ] mv .. - [ ] cd ./ **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,13 +75,13 @@ 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 +- [x ] mv - [ ] cd - [ ] clear - [ ] mkdir @@ -92,4 +92,4 @@ You can mark your choice by putting an `x` in the correct box - [ ] extra - [ ] function - [ ] dash -- [ ] all +- [ x] all diff --git a/README.md b/README.md index 2cab9a4..d96558e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Hint: You should use `cd` and `ls`. #### 1) Answer - +ls, cd, pwd, ls ### 2) Find my Hotel Photo @@ -28,7 +28,7 @@ Next, I want to try and find the photo of my hotel from my holiday in July that #### 2) Answer - + My Documents ls, cd Photos, ls, cd HolidaysJuly ### 3) Counting Script @@ -52,7 +52,7 @@ For this task, I want you to **stop** the counter when I have counted to 10. Copy the output of the script here - + n=0; while [[ $n -lt 10 ]]; I have Counted; n=$((n+1)); done ### 4) Quiz From 2237403cefdffd3ce72d0c2142e3ab9eaae81c3c Mon Sep 17 00:00:00 2001 From: Danny Romero <108970600+Elenar9@users.noreply.github.com> Date: Thu, 2 Mar 2023 09:14:08 +0000 Subject: [PATCH 2/3] Terminal-coursework-Week1 update --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index d96558e..412fb93 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,7 @@ For this task, I want you to **stop** the counter when I have counted to 10. Copy the output of the script here - n=0; while [[ $n -lt 10 ]]; I have Counted; n=$((n+1)); done - + Ctrl+c ### 4) Quiz In this directory you'll find a quick quiz for you to complete From dd872d41d3763f04be03e572eab86a5ee6426323 Mon Sep 17 00:00:00 2001 From: Danny Romero <108970600+Elenar9@users.noreply.github.com> Date: Thu, 2 Mar 2023 09:17:57 +0000 Subject: [PATCH 3/3] Terminal-Coursework-Week1 update --- MyDocuments/Quiz/QUIZ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MyDocuments/Quiz/QUIZ.md b/MyDocuments/Quiz/QUIZ.md index 2a57229..43af323 100644 --- a/MyDocuments/Quiz/QUIZ.md +++ b/MyDocuments/Quiz/QUIZ.md @@ -4,10 +4,10 @@ You can mark your choice by putting an `x` in the correct box **Which of these is incorrect?** -- [x] The terminal is an interface that allows you to access the command line +- [] 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"?**