D281 Linux Foundations - Set 5 - Part 1

Test your knowledge of technical writing concepts with these practice questions. Each question includes detailed explanations to help you understand the correct answers.

Question 1: Which Linux command is used to print the last 10 lines of a file?

Question 2: What does the tar command do in Linux?

Question 3: Which command is used to list open ports and network connections?

Question 4: What is the default text editor in most Linux distributions?

Question 5: How do you search for a pattern within files in Linux?

Question 6: Which command is used to modify the default gateway in Linux?

Question 7: What does the mv command do?

Question 8: Which of the following is a valid option for the cp command to copy directories recursively?

Question 9: Which of the following commands is used to display the system's IP routing table?

Question 10: What does the du -sh command display?

Question 11: Which command is used to terminate a process by specifying its PID?

Question 12: What does the ln -s command do in Linux?

Question 13: Which file contains system-wide environment variables in Linux?

Question 14: Which command is used to compress files using the gzip algorithm?

Question 15: What does the find command do in Linux?

Question 16: How can you change the password of a user account?

Question 17: Which command is used to show the current disk usage of directories and files?

Question 18: What does the sudo command allow?

Question 19: How do you view a file's permissions in Linux?

Question 20: What is the purpose of the passwd file in Linux?


Complete the Captcha to view next question set.

Need Guaranteed Results?

Our exam support service guarantees you'll pass your OA on the first attempt. Pay only after you pass!

Get Exam Support