diff --git a/MyDocuments/Quiz/QUIZ.md b/MyDocuments/Quiz/QUIZ.md index f9a4853..9d4f598 100644 --- a/MyDocuments/Quiz/QUIZ.md +++ b/MyDocuments/Quiz/QUIZ.md @@ -4,6 +4,8 @@ You can mark your choice by putting an `x` in the correct box **Which of these is incorrect?** +Neither / ALL can be generally correct + - [ ] 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 @@ -11,14 +13,14 @@ You can mark your choice by putting an `x` in the correct box **What is the correct way to move to a directory called "Projects"?** -- [ ] cd Projects +- [ X ] cd Projects - [ ] mv Projects - [ ] cd ..Projects - [ ] mv .. **What is the correct way to move up a directory?** -- [ ] cd .. +- [ X ] cd .. - [ ] cd ~ - [ ] mv .. - [ ] cd ./ @@ -26,7 +28,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 +36,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 +45,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 +55,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 +67,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,20 +77,20 @@ 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 **What is the correct name for the part after the - in this command "ls -all"?** -- [ ] parameter +- [ X ] parameter - [ ] extra - [ ] function - [ ] dash diff --git a/README.md b/README.md index 2cab9a4..7819e9c 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ Hint: You should use `cd` and `ls`. +cd MyDocuments +ls +cd Projects +ls +cd JavaScript-Core1 +ls script.js + ### 2) Find my Hotel Photo Great work! @@ -30,6 +37,15 @@ Next, I want to try and find the photo of my hotel from my holiday in July that +cd .. +ls +cd Photos +ls +cd HolidayJuly +ls +cd Hotel +ls >>> there you have it :) + ### 3) Counting Script Next, I want you to run the script in this directory @@ -54,6 +70,21 @@ Copy the output of the script here +-------:~/Desktop/Terminal-Coursework-Week1/MyDocuments/Scripts$ ./count_to_100.sh + +I have counted to 1 +I have counted to 2 +I have counted to 3 +I have counted to 4 +I have counted to 5 +I have counted to 6 +I have counted to 7 +I have counted to 8 +I have counted to 9 +I have counted to 10 + +-------:~/Desktop/Terminal-Coursework-Week1/MyDocuments/Scripts$ + ### 4) Quiz In this directory you'll find a quick quiz for you to complete