mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: audit bash commands quiz (#60533)
This commit is contained in:
+16
-17
@@ -55,7 +55,7 @@ Which command is used to see what is present in a file?
|
||||
|
||||
#### --answer--
|
||||
|
||||
`more`
|
||||
`cat`
|
||||
|
||||
### --question--
|
||||
|
||||
@@ -281,7 +281,7 @@ Which command is used to remove directories and their content recursively?
|
||||
|
||||
#### --text--
|
||||
|
||||
Which command is used to remove a complete directory?
|
||||
Which command is used to remove a protected file?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
@@ -297,7 +297,7 @@ Which command is used to remove a complete directory?
|
||||
|
||||
#### --answer--
|
||||
|
||||
`rmdir`
|
||||
`rm -f`
|
||||
|
||||
### --question--
|
||||
|
||||
@@ -347,45 +347,45 @@ Which flag can be used for any command to get a help menu?
|
||||
|
||||
#### --text--
|
||||
|
||||
Which command is used to close the terminal?
|
||||
Which keybind is used to stop a running process?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`close`
|
||||
`Ctrl + L`
|
||||
|
||||
---
|
||||
|
||||
`mv`
|
||||
`Alt + C`
|
||||
|
||||
---
|
||||
|
||||
`off`
|
||||
`Shift + C`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`exit`
|
||||
`Ctrl + C`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which command is used to clear the terminal?
|
||||
Which keybind is used to clear the terminal?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`clr`
|
||||
`Ctrl + C`
|
||||
|
||||
---
|
||||
|
||||
`clean`
|
||||
`Shift + L`
|
||||
|
||||
---
|
||||
|
||||
`clrscr`
|
||||
`Alt + L`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`clear`
|
||||
`Ctrl + L`
|
||||
|
||||
### --question--
|
||||
|
||||
@@ -413,7 +413,7 @@ Which command is used to copy the whole folder?
|
||||
|
||||
#### --text--
|
||||
|
||||
Which flag is used with find to search for an exact folder?
|
||||
Which flag is used with `ls` to include hidden files and folders?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
@@ -429,13 +429,13 @@ Which flag is used with find to search for an exact folder?
|
||||
|
||||
#### --answer--
|
||||
|
||||
`-name`
|
||||
`-a`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which flag is used with the `ls` command to list the contents of a folder in long list format?
|
||||
Which flag is used with the `ls` command to include additional information, such as the permissions?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
@@ -452,4 +452,3 @@ Which flag is used with the `ls` command to list the contents of a folder in lon
|
||||
#### --answer--
|
||||
|
||||
`ls -l`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user