CompTIA Linux+ (XK0-004) Performanced-Based Questions #3
Anastasia-Instructor September 4, 2022
Quiz Summary
0 of 15 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 15 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 15
1. Question
Shamsi has no idea about the available and used disk space usage of the file system on his Linux system. He would love to see the file system disk space statistics in human-readable format — bytes, megabytes, and gigabytes. As an instructor to Shamsi, help him type the command to show the file system disk space statistics in human-readable format.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 2 of 15
2. Question
Your manager sent you a document named dojolab1.txt. The instruction is to copy the file to dojolab2.txt. Type the command to copy the dojolab1.txt to dojolab2.txt
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 3 of 15
3. Question
Your manager sends broadcast messages via his Linux system to everyone. You don’t receive the messages on your Linux system because you’ve not enabled your system to receive terminal messages. Type the command to allow terminal messages to display on your screen.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 4 of 15
4. Question
Nick wants to find out the disk usage summary of a /home/dojolab directory tree and each of its subdirectories. Type the command to find out the disk usage.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 5 of 15
5. Question
Jenifer comes to you with the Linux assignment given to her by her instructor. The instruction is to rename a file from helloboy.txt to himan.txt. As a Linux pro, type the command to help her rename the file from the command prompt.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 6 of 15
6. Question
You want to print the directory structure in a nice visual tree display design. Type the command to display the content of a directory in a tree-like format.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 7 of 15
7. Question
When you came back from the gym you felt someone had used your Linux system, you want to know who is logged on your Linux system and what they were doing, type the command to show information about currently logged in users (uptime) and what each user is doing (who).
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 8 of 15
8. Question
You want to open a new account on one of your finance app. So you need a hard-to-guess, random password. Using your Linux terminal, type the command to help you generate a strong random password of 10 characters.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 9 of 15
9. Question
Your younger brother logs into your Linux system without your permission because he knows your password. So you decided to change it. Type the command used for changing the password.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 10 of 15
10. Question
Nick wants to print a file directly via his Linux system without using a windows application. He doesn’t even know the command for printing files on Linux. So he hands over his computer to you, knowing you’re a professional. Type the command for printing documents on Linux.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 11 of 15
11. Question
By displaying all the files that are currently opened on your system, you’ll be able to figure out which processes uses a certain file. Type the command to find out the files which are opened by which process.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 12 of 15
12. Question
You wrote a simple code using java programming language. You saved it as Dojolab.java on your Linux system. Type the command to compile the Dojolab.java program.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 13 of 15
13. Question
You got a message from your colleague at work. The message contains two (2) documents (dojolab1.txt and dojolab2.txt) along with a request that goes like this “hey mate, help me compare the two files byte by byte to find out whether or not the two files are identical”. You’re on your Linux, type the command to compare the two files.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 14 of 15
14. Question
You quickly need to edit a text file already existing on your Linux system. The text filename is dojolab1.txt. So, of course, you need a text editor to do that. Type the command that opens a vim text editor on Linux so you can edit the dojolab1.txt file.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 15 of 15
15. Question
You wrote a simple code using the C programming language. You saved it as Dojolab.c on your Linux system. Type the command to compile the Dojolab.c program.
-
Student@dojolab:~$
CorrectIncorrect -