Home > Unix Programming > Quizzes > Unix Basics Practice Test
Unix Basics Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 51% Most missed: “Which command is used for comparing two files?”
Unix Basics Practice Test
Time left 00:00
25 Questions

1. Which Unix command is used for locating repeated and non-repeated lines?
2. Which command is used for renaming files in Unix?
3. Which command is used for sorting a file on specified fields?
4. Which part of the Unix operating system interacts with the hardware?
5. echo command is used for _________
6. In Unix, for what purpose bc command is used?
7. Which of the following command will be used for searching “director” in emp.lst?
8. Which command shows some attributes of a process?
9. Which command is used to compress files?
10. Which command is used to delete all files in a directory?
11. Which command is used for printing the current working directory?
12. Which Unix command is used for locating files?
13. For running a Unix command within awk, we’ve to use ____ function.
14. Which of the following command is used to create a child shell?
15. Which command is used for translating characters?
16. Which of the following command is used for searching for a pattern in one or more file(s)?
17. Which command is used for saving and quitting the vi editor simultaneously?
18. Which symbol is used to change permissions for hidden files in Unix?
19. Which command is used for removing/deleting files in Unix?
20. To extract specific columns from a file ____ command is used.
21. What is the function of cp command in Unix?
22. Which editor is used by the Unix system to edit files?
23. Which of the following is the first UNIX editor?
24. Which of the following commands is known as stream editor?
25. Which command is used to display the documentation of commands in Unix?