Linux Quiz 5: 10-Question Knowledge Check
Take a self-paced 10-question Linux multiple-choice quiz covering core concepts and command-line skills, then review each answer and explanation.
Linux Quiz 5
This self-paced assessment contains 10 multiple-choice questions covering Linux concepts and practical command-line knowledge. There is no countdown or time limit. You may leave and return to the quiz, and you can move between questions without losing selections when progress saving is supported.
Choose one answer for each question. The selected answer should remain visibly marked before submission. After answering all 10 questions, use the Submit Quiz action to complete the assessment. The results page should show your selected answer, whether it was correct, and the correct answer when your response was incorrect.
How to Take the Quiz
- Begin with the Start Quiz control above the first question.
- Answer Questions 1 through 10 in sequence.
- Use question navigation to return to an earlier question. For example, you can answer Question 3, continue to later questions, and return to Question 3 to change your selection.
- Confirm that every question has a visibly selected option before submitting.
- Select Submit Quiz to view your score and per-question answer review.
Questions
Question 1
Which command prints the current working directory?
- ○
cd - ○
pwd - ○
ls - ○
where
Selected answer: Not selected
Question 2
Which directory commonly contains system-wide configuration files?
- ○
/home - ○
/tmp - ○
/etc - ○
/media
Selected answer: Not selected
Question 3
What does the first character in a long-format ls -l entry usually indicate?
- ○ The file owner
- ○ The file type
- ○ The file size
- ○ The modification date
Selected answer: Not selected
Question 4
Which command changes the permissions of a file?
- ○
chmod - ○
chown - ○
passwd - ○
umask
Selected answer: Not selected
Question 5
Which symbol represents the home directory of the current user in a shell?
- ○
/ - ○
~ - ○
. - ○
..
Selected answer: Not selected
Question 6
Which command is commonly used to search for a pattern in text?
- ○
grep - ○
touch - ○
mkdir - ○
du
Selected answer: Not selected
Question 7
What is the primary purpose of a process ID, or PID?
- ○ To identify a running process
- ○ To identify a disk partition
- ○ To store a user's password
- ○ To specify a file extension
Selected answer: Not selected
Question 8
Which command displays currently running processes in a continuously updating view on many Linux systems?
- ○
top - ○
head - ○
sort - ○
alias
Selected answer: Not selected
Question 9
What does a pipe character (|) do in a shell command?
- ○ Runs a command with administrator privileges
- ○ Sends the output of one command to the input of another
- ○ Deletes the current directory
- ○ Changes the current user's password
Selected answer: Not selected
Question 10
Which command creates a new directory?
- ○
rmdir - ○
cp - ○
mkdir - ○
ln
Selected answer: Not selected
Submit and Review Results
After all 10 questions have a selected answer, use the Submit Quiz action. Submission completes the assessment and opens the results view. Revisit the results whenever you need to review your performance.
The answer review should list every question and include:
- Your selected response.
- A clear correct or incorrect result.
- The correct answer when your response was incorrect.
- A short explanation connecting the answer to the Linux concept being tested.
Answer Review
- Question 1:
pwdprints the current working directory. - Question 2:
/etccommonly stores system-wide configuration files. - Question 3: The first character of an
ls -lentry indicates the file type, such as a regular file or directory. - Question 4:
chmodchanges file and directory permission bits. - Question 5:
~expands to the current user's home directory. - Question 6:
grepsearches input for lines matching a pattern. - Question 7: A PID identifies a running process.
- Question 8:
topprovides a continuously updating process view on many Linux systems. - Question 9: A pipe sends one command's standard output to another command's standard input.
- Question 10:
mkdircreates a new directory.
Related Practice
Review earlier material with Linux Quiz 4, or continue to Linux Quiz 6 after completing this knowledge check.