Skip to content
Pass Any WGU OA Exam Now & Pay After You Pass. Contact Us!
  1. Home
  2. WGU Exams
  3. WGU D281
  4. Set 2
WGU D281 · Linux Foundations

WGU D281 Practice Questions – Set 2

50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.

Question 1 of 50

What command is used to display the current working directory in Linux?

Question 2 of 50

Which command in Linux is used to remove an empty directory?

Question 3 of 50

What command is used to change file permissions in Linux?

Question 4 of 50

Which command is used to create an empty file in Linux?

Question 5 of 50

What does the man command do in Linux?

Question 6 of 50

What does the cd command do in Linux?

Question 7 of 50

What is the default text editor installed on most Linux systems?

Question 8 of 50

How do you count the number of lines in a file in Linux?

Question 9 of 50

What does the df command show in Linux?

Question 10 of 50

Which command is used to show the running processes in Linux?

Question 11 of 50

How can you search for a string within a file in Linux?

Question 12 of 50

Which command is used to view the first 10 lines of a file by default?

Question 13 of 50

What is the role of the kill command in Linux?

Question 14 of 50

Which of the following is a package manager for Debian-based systems?

Question 15 of 50

What does the echo command do?

Question 16 of 50

Which of the following is the correct command to view the contents of a directory?

Question 17 of 50

What is the purpose of the mv command in Linux?

Question 18 of 50

What does the free command show in Linux?

Question 19 of 50

How can you display hidden files in a directory?

Question 20 of 50

What does the chmod 755 command do?

Question 21 of 50

Which command is used to change the ownership of a file?

Question 22 of 50

How do you create a new directory in Linux?

Question 23 of 50

Which command is used to view the last 10 lines of a file in Linux?

Question 24 of 50

What does the passwd command do?

Question 25 of 50

How can you view the file permissions of a file?

Question 26 of 50

What is the purpose of the hostname command?

Question 27 of 50

Which of the following is a compression tool in Linux?

Question 28 of 50

How do you check the disk usage of a file or directory?

Question 29 of 50

What does the find command do in Linux?

Question 30 of 50

How do you display the system's kernel version?

Question 31 of 50

What does the alias command do in Linux?

Question 32 of 50

How do you view the manual pages for a command in Linux?

Question 33 of 50

Which command is used to delete a directory and its contents recursively?

Question 34 of 50

What does the uptime command show in Linux?

Question 35 of 50

How can you display all running services in Linux?

Question 36 of 50

Which command is used to change a user's shell?

Question 37 of 50

What does the df -h command show?

Question 38 of 50

Which command is used to compress a file using the bzip2 algorithm?

Question 39 of 50

How do you create a symbolic link in Linux?

Question 40 of 50

What does the jobs command show?

Question 41 of 50

Which command can be used to display all network interfaces in Linux?

Question 42 of 50

What does the whoami command display?

Question 43 of 50

Which of the following is a process monitoring tool in Linux?

Question 44 of 50

What does the history command do?

Question 45 of 50

Which command is used to view detailed information about the CPU?

Question 46 of 50

How can you list all installed packages on a Debian-based system?

Question 47 of 50

Which command is used to set a delay before shutting down a Linux system?

Question 48 of 50

What is the purpose of the sudo command in Linux?

Question 49 of 50

Which command shows active TCP connections in Linux?

Question 50 of 50

How do you set file permissions in octal notation in Linux?

Set 2 complete

You scored 0%

0 correct out of 0 answered (50 questions in this set).

Next: Set 3

Struggling with WGU D281?

If this exam is giving you a hard time, let us be your helping hand. Contact us, and we'll provide the assistance you need to pass and move forward.

Chat Now