
Tools of the Trade: Quiz 4
Authored by John Coder
Computers
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
The ????? command creates a new directory. Like all of the commands presented in this reading, you can either provide the new directory as the absolute file path, which starts from the root, or as a relative file path, which starts from your current directory.
(a)
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
If you want to create a new directory called network in your /home/analyst/logs directory, you can enter ______ ___________________________ to create this new directory. If you’re already in the /home/analyst/logs directory, you can also create this new directory by entering ________ _______________.
(a)
3.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
The ????? command removes, or deletes, a directory. For example, entering ????? /home/analyst/logs/network would remove this empty directory from the file system.
Note: The ????? command cannot delete directories with files or subdirectories inside. For example, entering ????? /home/analyst returns an error message.
(a)
4.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
The ????? command creates a new file. This file won’t have any content inside. If your current directory is /home/analyst/reports, entering ????? permissions.txt creates a new file in the reports subdirectory called permissions.txt.
(a)
5.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
The ?? command removes, or deletes, a file. This command should be used carefully because it’s not easy to recover files deleted with ??. To remove the permissions file you just created, enter ?? permissions.txt.
(a)
6.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
You can also use mv and cp when working with files. The ?? command moves a file or directory to a new location, and the ?? command copies a file or directory into a new location. The first argument after mv or cp is the file or directory you want to move or copy, and the second argument is the loc (a) you want to move or copy it to.
7.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
To move permissions.txt into the logs subdirectory path /home/analyst/logs., enter ?? _______________________ _____________________. Moving a file removes the file from its original location. However, copying a file doesn’t remove it from its original location.
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?