Basic of linux unix – MCQs

263 questions. Click to practice.

Correct options are highlighted when revealed.

1.Which command will display all files that have the .lst extension?

2.Which command provides a summary of disk space usage?

3.Which command is utilized to compare two files?

4.Which Hexadecimal codes correspond to Linux swap and Linux native partition types when using fdisk?

5.Which command is utilized to determine a file's type based on its content?

6.Which command is utilized to configure routes on a Linux router?

7.Which flag should be added to the rm command to prompt the user with a question mark before deleting each file?

8.Which option is used to define the delimiter in the cut command?

9.Which command is utilized to duplicate a file in a Unix-like system?

10.In which directory are all user-created aliases, along with their home directory, typically stored?

11.Which TCP/IP protocol is responsible for sending email messages between computers?

12.Which command copies all files that start with 'chap' followed by exactly two characters into the progs directory?

13.Which command is utilized to configure user and group disk quotas?

14.Which command grants the file named "letter" executable rights exclusively to its owner?

15.Which subdirectory holds the device files in a Linux filesystem?

16.Which command modifies the permissions of files that begin with 'emp' and end with either 1, 2, or 3?

17.What is the total number of possible network IDs combined from class A, B, and C networks?

18.Which command allows you to compare the contents of two files?

19.Which file holds the mapping of port numbers and their corresponding service names that inetd monitors?

20.In the vi editor, which keystroke scrolls the view backward by half a page?