Basic of linux unix – MCQs

263 questions. Click to practice.

Correct options are highlighted when revealed.

1.Which command is used to immediately write all buffered data to disk?

2.Which command is utilized to delete print jobs from the printing queue?

3.Which command is utilized to submit print jobs to the print queue?

4.Which file determines the sequence in which name resolution services are consulted?

5.Which flag with the cmp command provides a detailed output showing the byte position and the differing bytes in octal format for each mismatch between two files?

6.What information does the 'ls -l' command provide?

7.Which command lists filenames in several columns and marks directories and executable files with special symbols?

8.Which type of file does the cp command utilize during its operation?

9.Which command allows you to view the contents of a file in octal format?

10.Which command is utilized to substitute a single character with different text?

11.Which command is used to remove a file from the system?

12.What does the acronym NIS stand for?

13.Which file is used to list users who are prohibited from logging into the system through FTP?

14.Which layer is the first layer in the OSI model?

15.In the vi editor, which command allows you to move the cursor to the start of the previous word?

16.Which command is utilized to display the number of lines, words, and characters in a file?

17.What is the primary purpose of the cat command in Unix/Linux?

18.Which key is used to remove the character located directly under the cursor?

19.In the UNIX file system, data is stored in physical blocks of what size?

20.Which command is utilized to delete files from the system?