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 1
WGU D281 · Linux Foundations

WGU D281 Practice Questions – Set 1

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

Question 1 of 50

Which command is used to move a file from one directory to another?

Question 2 of 50

Which command is used to create a new directory?

Question 3 of 50

What is the command used to remove a directory and all its contents?

Question 4 of 50

Which command is used to display the manual for a given command?

Question 5 of 50

How can a user search by keyword while using the man command?

Question 6 of 50

Which command is used to clear all text from the terminal?

Question 7 of 50

What is the default file permission for new directories in Linux?

Question 8 of 50

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

Question 9 of 50

Which command displays the present working directory?

Question 10 of 50

How do you display a list of all files, including hidden files, in a directory?

Question 11 of 50

Which command is used to search for a specific keyword in the output of other commands?

Question 12 of 50

What does the rmdir command do?

Question 13 of 50

Which of the following is a valid meta-character in Linux used for file matching?

Question 14 of 50

What does the cd .. command do?

Question 15 of 50

Which command is used to rename a file or directory in Linux?

Question 16 of 50

What is the correct file extension for a GZIP compressed file?

Question 17 of 50

What does the chmod command do?

Question 18 of 50

What does the find command do in Linux?

Question 19 of 50

Which command is used to display system information such as uptime and load?

Question 20 of 50

What does the df command show?

Question 21 of 50

What does the rm command do?

Question 22 of 50

Which command is used to copy files in Linux?

Question 23 of 50

What is the purpose of the ls command in Linux?

Question 24 of 50

Which command allows you to view the contents of a file one page at a time?

Question 25 of 50

Which of the following is a text editor in Linux?

Question 26 of 50

What does the pwd command show?

Question 27 of 50

Which command is used to change the current directory?

Question 28 of 50

What is the purpose of the chmod command in Linux?

Question 29 of 50

Which command is used to count the lines, words, and characters in a file?

Question 30 of 50

Which of the following is a wildcard character in Linux used to match multiple characters in filenames?

Question 31 of 50

How can you append data to an existing file in Linux?

Question 32 of 50

Which command can be used to search for a file by name in the current directory and its subdirectories?

Question 33 of 50

What does the uname command display?

Question 34 of 50

Which of the following is the default shell in most Linux distributions?

Question 35 of 50

Which of the following is NOT a package manager in Linux?

Question 36 of 50

What does the echo command do?

Question 37 of 50

What is the purpose of the ps command?

Question 38 of 50

What does the tail command do?

Question 39 of 50

Which command can you use to view system memory usage?

Question 40 of 50

What is the role of the sudo command?

Question 41 of 50

How can you list all the running services in a Linux system?

Question 42 of 50

What does the hostname command do?

Question 43 of 50

Which command can be used to download and install updates on a Debian-based Linux system?

Question 44 of 50

Which command is used to view the contents of a file in Linux?

Question 45 of 50

How can you remove a directory and all its contents, including subdirectories?

Question 46 of 50

What does the chown command do?

Question 47 of 50

Which of the following commands will list hidden files in a directory?

Question 48 of 50

What is the primary purpose of the vi command?

Question 49 of 50

Which command will display the current shell being used?

Question 50 of 50

How can you terminate a process in Linux?

Set 1 complete

You scored 0%

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

Next: Set 2

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