This repository was archived by the owner on Aug 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 251
London10- Danny_Romero-JavaScript-week1 terminal-coursework-week1 #227
Open
Elenar9
wants to merge
3
commits into
CodeYourFuture:main
Choose a base branch
from
Elenar9:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
| - [] 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 | ||
| - [x ] cd Projects | ||
| - [ ] mv Projects | ||
| - [ ] cd ..Projects | ||
| - [ ] mv .. | ||
|
|
@@ -20,21 +20,21 @@ 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 | ||
| - [ ] The delete key | ||
|
|
||
| **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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in this case "all" is a parameter for this command |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the right answer is cd.., "mv" moves files between directories